aboutsummaryrefslogtreecommitdiffstats
path: root/jid/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--jid/Cargo.toml20
1 files changed, 18 insertions, 2 deletions
diff --git a/jid/Cargo.toml b/jid/Cargo.toml
index d5983ea..1c3aefd 100644
--- a/jid/Cargo.toml
+++ b/jid/Cargo.toml
@@ -1,10 +1,26 @@
+# SPDX-FileCopyrightText: 2025 cel <cel@bunny.garden>
+#
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
[package]
name = "jid"
version = "0.1.0"
edition = "2021"
[features]
-sqlx = ["dep:sqlx"]
+# default = []
+rusqlite = ["dep:rusqlite"]
+serde = ["dep:serde"]
+# sqlx = ["dep:sqlx"]
[dependencies]
-sqlx = { version = "0.8.3", features = ["sqlite"], optional = true }
+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 }