[package] name = "jid" version = "0.1.0" edition = "2021" [features] # default = [] rusqlite = ["dep:rusqlite"] # sqlx = ["dep:sqlx"] [dependencies] 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 }