aboutsummaryrefslogtreecommitdiffstats
path: root/jid/Cargo.toml
blob: 58d59a49ec786530796c9961b34f550cc0addfd7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[package]
name = "jid"
version = "0.1.0"
edition = "2021"

[features]
# default = []
rusqlite = ["dep:rusqlite"]
serde = ["dep:serde"]
# sqlx = ["dep:sqlx"]

[dependencies]
serde = { workspace = true, features = ["derive"], optional = true }
rusqlite = { git = "https://github.com/Spxg/rusqlite.git", optional = true, branch = "wasm-demo" }
# sqlx = { version = "0.8.3", features = ["sqlite"], optional = true }
# sqlx = { path = "../../remote/sqlx", features = ["sqlite"], optional = true }

# [target.'cfg(not(target_arch = "wasm32"))'.dependencies]
# sqlx = { version = "0.8.3", features = ["sqlite"], optional = true }

# [target.'cfg(target_arch = "wasm32")'.dependencies]
# sqlx = { path = "../../remote/sqlx", features = ["sqlite-precompiled-wasm"], optional = true }