mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-13 09:55:55 +01:00
43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "cdk-ffi"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
description = "FFI bindings for cdk wallet"
|
|
homepage = "https://github.com/cashubtc/cdk"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "staticlib", "rlib"]
|
|
name = "cdk_ffi"
|
|
|
|
[dependencies]
|
|
async-trait = { workspace = true }
|
|
bip39 = { workspace = true }
|
|
cdk = { workspace = true, default-features = false, features = ["wallet", "auth", "bip353"] }
|
|
cdk-sqlite = { workspace = true }
|
|
cdk-postgres = { workspace = true, optional = true }
|
|
futures = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
rand = { workspace = true }
|
|
serde = { workspace = true, features = ["derive", "rc"] }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = ["sync", "rt", "rt-multi-thread"] }
|
|
uniffi = { version = "0.29", features = ["cli", "tokio"] }
|
|
url = { workspace = true }
|
|
uuid = { workspace = true, features = ["v4"] }
|
|
|
|
|
|
[features]
|
|
default = ["postgres"]
|
|
# Enable Postgres-backed wallet database support in FFI
|
|
postgres = ["cdk-postgres"]
|
|
|
|
[dev-dependencies]
|
|
|
|
[[bin]]
|
|
name = "uniffi-bindgen"
|
|
path = "src/bin/uniffi-bindgen.rs"
|