Cargo.toml (1991B)
1 [package] 2 name = "tera_ffi" 3 description = "Native FFI bindings for Tera mobile apps" 4 version = "0.1.0-alpha" 5 edition.workspace = true 6 authors = ["Tera Authors"] 7 rust-version.workspace = true 8 license = "GPL-3.0-or-later" 9 repository.workspace = true 10 homepage.workspace = true 11 readme.workspace = true 12 publish = false 13 include = ["src/**", "uniffi.toml", "Cargo.toml"] 14 15 [lib] 16 crate-type = ["rlib", "staticlib", "cdylib"] 17 18 [lints.rust] 19 unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] } 20 21 [dependencies] 22 async-trait = { workspace = true } 23 hex = { workspace = true } 24 radroots_blossom = { workspace = true, features = ["std"] } 25 radroots_event = { workspace = true, features = ["serde", "std"] } 26 tera_core = { workspace = true, features = ["mobile-social"] } 27 radroots_sdk = { workspace = true, features = ["blossom"] } 28 radroots_signing = { workspace = true, features = ["serde", "std"] } 29 radroots_storage = { workspace = true } 30 serde_json = { workspace = true, features = ["std"] } 31 tokio = { workspace = true, features = ["sync"] } 32 tracing = { workspace = true } 33 tracing-appender = { workspace = true } 34 tracing-subscriber = { workspace = true } 35 thiserror = { workspace = true } 36 uniffi = { workspace = true, features = ["tokio"] } 37 38 [target.'cfg(unix)'.dependencies] 39 libc = { workspace = true } 40 rustix = { workspace = true } 41 42 [dev-dependencies] 43 nostr = { git = "https://github.com/rust-nostr/nostr.git", rev = "5bba5163eb77107f82c4a8262cf29d7f33a73219", package = "nostr" } 44 nostr-relay-builder = { git = "https://github.com/rust-nostr/nostr.git", rev = "5bba5163eb77107f82c4a8262cf29d7f33a73219", package = "nostr-relay-builder" } 45 nostr-sdk = { git = "https://github.com/rust-nostr/nostr.git", rev = "5bba5163eb77107f82c4a8262cf29d7f33a73219", package = "nostr-sdk" } 46 secp256k1 = { workspace = true, features = ["rand-std"] } 47 tempfile = { workspace = true } 48 tokio = { workspace = true, features = [ 49 "io-util", 50 "macros", 51 "net", 52 "rt-multi-thread", 53 "sync", 54 "time", 55 ] }