Skip to content

Commit

Permalink
wasm works still
Browse files Browse the repository at this point in the history
  • Loading branch information
ec2 committed Sep 11, 2024
1 parent 93c0569 commit 1d40ee6
Show file tree
Hide file tree
Showing 4 changed files with 486 additions and 298 deletions.
8 changes: 6 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@ codegen-units = 1
wasm-opt = ["-O4", "-O4"]

[features]
default = ["console_error_panic_hook"]
console_error_panic_hook = ["dep:console_error_panic_hook"]
default = ["wasm"]
# default = ["native", "wasm"]
wasm = ["dep:console_error_panic_hook"]
# native = ["tokio"]

[dependencies]
## Web dependencies
Expand Down Expand Up @@ -60,6 +62,8 @@ tracing = "0.1.40"
nonempty = "0.7"
hex = "0.4.3"

# tokio = { version = "1.0", features = ["rt", "macros"], optional = true }

[dev-dependencies]
wasm-bindgen-test = "0.3.42"

Expand Down
Loading

0 comments on commit 1d40ee6

Please sign in to comment.