forked from surrealdb/surrealdb.node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (29 loc) · 1020 Bytes
/
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
[package]
name = "surrealdb_node"
version = "0.4.0"
edition = "2021"
[lib]
crate-type = ["cdylib"]
[dependencies]
dmp = "0.2.0"
napi = { version = "2", features = ["async", "serde-json"] }
napi-derive = "2"
serde = "1.0.188"
serde_json = "1.0.105"
surrealdb = { version = "1.0.0", features = ["kv-mem"] }
[build-dependencies]
napi-build = "2.0.1"
[features]
rocksdb = ["surrealdb/kv-rocksdb"]
[profile.release]
lto = true
[target.x86_64-pc-windows-msvc.dependencies]
surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }
[target.x86_64-unknown-linux-gnu.dependencies]
surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }
[target.aarch64-linux-android.dependencies]
surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }
[target.armv7-linux-androideabi.dependencies]
surrealdb = { version = "1.0.0", features = ["kv-mem", "kv-rocksdb"] }
# [target.aarch64-apple-darwin.dependencies]
# surrealdb = { version = "1.0.0-beta.10", features = ["kv-mem", "kv-rocksdb"] }