-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (52 loc) · 1.47 KB
/
Cargo.toml
File metadata and controls
60 lines (52 loc) · 1.47 KB
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 = "assemblage_kv"
description = "Versioned and Transactional KV Store for Native and Wasm Targets"
license = "AGPL-3.0"
repository = "https://github.com/fkettelhoit/assemblagedb/tree/main/assemblage_kv"
version = "0.1.0"
authors = ["Frederic Kettelhoit <kettelhoit@gmail.com>"]
edition = "2018"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["console_error_panic_hook"]
[dependencies]
tokio = { version = "1.7", features = ["sync"] }
async-trait = "0.1"
crc32fast = "1.2"
rmp-serde = "0.15"
serde = "1.0"
log = "0.4"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1.7", features = ["fs", "io-util"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3"
wasm-bindgen = "0.2"
wasm-bindgen-futures = "0.4"
console_error_panic_hook = { version = "0.1", optional = true }
wee_alloc = { version = "0.4", optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
'console',
'RequestInit',
'Response',
'Url',
'Window',
'DomException',
'IdbFactory',
'IdbOpenDbRequest',
'IdbRequest',
'IdbRequestReadyState',
'IdbVersionChangeEvent',
'IdbDatabase',
'IdbTransaction',
'IdbTransactionMode',
'IdbObjectStore',
]
[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
tokio = { version = "1.7", features = ["time", "rt-multi-thread"] }
env_logger = "0.8"
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
wasm-bindgen-test = "0.3"
console_log = "0.2"