-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
60 lines (54 loc) · 1.48 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "wnfslib-web"
version = "0.1.0"
edition = "2021"
[workspace]
resolver = "2"
[lib]
crate-type = ["cdylib", "rlib"]
[dependencies]
wnfs = { git = "https://github.com/wnfs-wg/rs-wnfs.git", rev = "491ce8555d811477e934e6a1a6b6e0d347a32357", default-features = false }
wnfsutils = { git = "https://github.com/functionland//wnfs-utils-web.git", tag = "v1.1.11", default-features = false }
libipld = { version = "0.16", features = ["dag-cbor", "derive", "serde-codec"] }
anyhow = "1.0.66"
serde = { version = "1.0.149", features = ["derive"] }
serde_json = "1.0.89"
chrono = "0.4.22"
rand = "0.8.5"
getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen = "0.2.83"
wasm-bindgen-futures = "0.4"
log = "0.4"
hex = "0.4"
wasm-logger = "0.2"
serde-wasm-bindgen = "0.6.5"
console_log = "1.0.0"
console_error_panic_hook = "0.1"
futures-util = "0.3"
async-trait = "0.1.58"
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { version = "1.29.1", default-features = false, features = ["rt"] }
console_error_panic_hook = "0.1"
wasm-bindgen = { version = "0.2.87", features = ["serde-serialize"] }
js-sys = "0.3"
web-sys = { version = "0.3", features = [
"console",
"Headers",
"Request",
"RequestInit",
"RequestMode",
"Response",
"Window",
"File",
"FileList",
"FileReader",
"Blob",
"FileSystem"
]}
futures = { version = "0.3", default-features = false }
[dependencies.jni]
version = "0.21.1"
optional = true
[features]
default = []
android = ["jni"]