-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathCargo.toml
47 lines (41 loc) · 1.15 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
[package]
name = "surrealdb-wasm"
publish = false
edition = "2021"
version = "0.0.0"
authors = ["Tobie Morgan Hitchcock <[email protected]>"]
description = "WebAssembly driver for SurrealDB"
repository = "https://github.com/surrealdb/surrealdb.wasm"
license = "Apache License 2.0"
[profile.release]
lto = true
strip = true
opt-level = 'z'
panic = 'abort'
codegen-units = 1
[lib]
name = "surrealdb"
crate-type = ["cdylib", "rlib"]
[features]
kv-indxdb = ["surrealdb/kv-indxdb"]
kv-mem = ["surrealdb/kv-mem"]
stack-traces = ["dep:console_error_panic_hook"]
[dependencies]
surrealdb = { version = "2.1.1", default-features = false, features = ["http"] }
ciborium = "0.2.2"
console_error_panic_hook = { version = "0.1.7", optional = true }
fern = "0.6.2"
futures = "0.3.30"
log = "0.4.21"
serde = { version = "1.0.197", features = ["derive"] }
serde-wasm-bindgen = "0.6.5"
uuid = "1.8.0"
wasm-bindgen = "0.2.92"
wasm-bindgen-futures = "0.4.45"
wasm-streams = "0.4.0"
web-sys = { version = "0.3.69", features = ["console"] }
channel = { version = "2.3.1", package = "async-channel" }
[dev-dependencies]
wasm-bindgen-test = "0.3.41"
[build-dependencies]
cargo-lock = "9.0.0"