Split project into three workspaces: hel (the library), helcli (the tool) and helwasm (the wasm code). Move wasm incompatible code to extra modules in utils.rs to be implementable separately for wasm.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "helwasm"
|
||||
version = "0.1.0"
|
||||
authors = ["ok2"]
|
||||
edition = "2021"
|
||||
|
||||
[target.'cfg(wasm32)']
|
||||
[lib]
|
||||
name = "helwasm"
|
||||
path = "src/lib.rs"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
||||
hel = { version = "0.1.0", path = "../hel" }
|
||||
wasm-bindgen = "0.2.83"
|
||||
Reference in New Issue
Block a user