-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
62 lines (57 loc) · 1.57 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
61
62
[package]
name = "idb"
version = "0.6.2"
authors = ["Devashish Dixit <devashishdxt@gmail.com>"]
license = "MIT/Apache-2.0"
description = "A futures based crate for interacting with IndexedDB on browsers using webassembly"
homepage = "https://github.com/devashishdxt/idb"
repository = "https://github.com/devashishdxt/idb"
categories = ["asynchronous", "database", "wasm", "web-programming"]
keywords = ["wasm", "indexeddb", "future", "webassembly", "idb"]
readme = "README.md"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = ["builder"]
doc = []
builder = ["futures"]
futures = ["tokio"]
[dependencies]
js-sys = "0.3.69"
num-traits = "0.2.19"
thiserror = "1.0.61"
tokio = { version = "1.38.0", features = ["sync"], optional = true }
wasm-bindgen = "0.2.92"
web-sys = { version = "0.3.69", features = [
"DomException",
"DomStringList",
"Event",
"IdbCursor",
"IdbCursorDirection",
"IdbCursorWithValue",
"IdbDatabase",
"IdbFactory",
"IdbIndex",
"IdbIndexParameters",
"IdbKeyRange",
"IdbObjectStore",
"IdbObjectStoreParameters",
"IdbOpenDbOptions",
"IdbOpenDbRequest",
"IdbRequestReadyState",
"IdbTransaction",
"IdbTransactionMode",
"IdbVersionChangeEvent",
"StorageType",
] }
[dev-dependencies]
gloo = { version = "0.11.0", default-features = false, features = [
"timers",
"futures",
] }
serde = "1.0.203"
serde-wasm-bindgen = "0.6.5"
serde_json = "1.0.120"
wasm-bindgen-test = "0.3.42"
[package.metadata.docs.rs]
all-features = true