-
Notifications
You must be signed in to change notification settings - Fork 29
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (40 loc) · 1.36 KB
/
Cargo.toml
File metadata and controls
45 lines (40 loc) · 1.36 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
[package]
name = "surrealdb-java"
version = "3.0.4"
authors = ["Emmanuel Keller <emmanuel.keller@surrealdb.com>"]
edition = "2021"
[lib]
name = "surrealdb"
crate-type = ["cdylib"]
path = "src/main/rust/lib.rs"
[profile.release]
opt-level = 3
# Shared dependencies (surrealdb, serde, serde_json, rust_decimal, tokio, parking_lot,
# chrono, dashmap, futures, async-channel) should be kept aligned with the versions used
# by SurrealDB's workspace Cargo.toml for the matching surrealdb crate version.
# See: https://github.com/surrealdb/surrealdb/blob/<version>/Cargo.toml
# Driver-specific dependencies (jni, once_cell, cargo-lock) are independent.
[dependencies]
jni = "0.21.1"
surrealdb = { version = "3.0.4", default-features = false, features = ["rustls", "protocol-http", "protocol-ws"] }
serde = "1.0.228"
serde_json = "1.0.149"
rust_decimal = "1.40.0"
tokio = "1.49.0"
parking_lot = "0.12.5"
once_cell = "1.21.4"
chrono = "0.4.43"
dashmap = "6.1.0"
futures = "0.3.31"
async-channel = "2.5.0"
[build-dependencies]
cargo-lock = "11.0.1"
[features]
default = ["rustls", "kv-mem", "kv-surrealkv", "protocol-ws", "protocol-http", "http", "jwks"]
rustls = ["surrealdb/rustls"]
jwks = ["surrealdb/jwks"]
http = ["surrealdb/http"]
kv-mem = ["surrealdb/kv-mem"]
kv-surrealkv = ["surrealdb/kv-surrealkv"]
protocol-ws = ["surrealdb/protocol-ws"]
protocol-http = ["surrealdb/protocol-http"]