Skip to content

Commit

Permalink
refactor: separate wasi-crypto binding as a crate
Browse files Browse the repository at this point in the history
  • Loading branch information
Puellaquae committed Jan 24, 2024
1 parent 73e7cab commit 906f4c8
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 4,647 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ env_logger = "0.10.0"
rustls = { version = "0.21.0", optional = true }
tokio-rustls-wasi = { version = "0.24.1", optional = true }
webpki-roots = { version = "0.25.0", optional = true }
crypto-wasi = { version = "0.1.1", optional = true }

[features]
default = ["tls"]
Expand All @@ -38,4 +39,4 @@ img = ["image", "imageproc"]
tensorflow = ["img"]
wasi_nn = ["img"]
cjs = []
nodejs_crypto = []
nodejs_crypto = ["crypto-wasi"]
Loading

0 comments on commit 906f4c8

Please sign in to comment.