Skip to content

Commit

Permalink
Merge pull request #18 from cartridge-gg/wasm-support
Browse files Browse the repository at this point in the history
chore: ensure tokio is only used for the binary
  • Loading branch information
glihm authored Feb 14, 2024
2 parents 9ae4a87 + 6fdf1f8 commit a30cc79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ thiserror.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
url.workspace = true
tokio = { version = "1.15.0", features = ["full"] }
tokio = { version = "1.15.0", features = ["full"], optional = true }

[features]
default = []
abigen-rs = ["cainome-rs-macro"]
build-binary = ["tokio"]

[[bin]]
name = "cainome"
path = "src/bin/cli/main.rs"
required-features = ["build-binary"]

0 comments on commit a30cc79

Please sign in to comment.