92 lines
2.8 KiB
TOML
92 lines
2.8 KiB
TOML
[package]
|
|
name = "matrix-sdk-ffi"
|
|
version = "0.2.0"
|
|
edition = "2021"
|
|
homepage = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
keywords = ["matrix", "chat", "messaging", "ffi"]
|
|
license = "Apache-2.0"
|
|
readme = "README.md"
|
|
rust-version = { workspace = true }
|
|
repository = "https://github.com/matrix-org/matrix-rust-sdk"
|
|
|
|
[lib]
|
|
crate-type = ["cdylib", "staticlib"]
|
|
|
|
[features]
|
|
default = ["bundled-sqlite"]
|
|
bundled-sqlite = ["matrix-sdk/bundled-sqlite"]
|
|
|
|
[build-dependencies]
|
|
uniffi = { workspace = true, features = ["build"] }
|
|
vergen = { version = "8.1.3", features = ["build", "git", "gitcl"] }
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
as_variant = { workspace = true }
|
|
async-compat = "0.2.1"
|
|
base64 = "0.21"
|
|
eyeball-im = { workspace = true }
|
|
extension-trait = "1.0.1"
|
|
futures-core = { workspace = true }
|
|
futures-util = { workspace = true }
|
|
matrix-sdk-ui = { workspace = true, features = ["e2e-encryption", "uniffi", "experimental-room-list-with-unified-invites"] }
|
|
mime = "0.3.16"
|
|
once_cell = { workspace = true }
|
|
opentelemetry = "0.22.0"
|
|
opentelemetry_sdk = { version = "0.22.0", features = ["rt-tokio"] }
|
|
opentelemetry-otlp = { version = "0.15.0", features = ["tokio", "reqwest-client", "http-proto"] }
|
|
ruma = { workspace = true, features = ["html", "unstable-unspecified", "unstable-msc3488", "compat-unset-avatar", "unstable-msc3245-v1-compat"] }
|
|
sanitize-filename-reader-friendly = "2.2.1"
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true }
|
|
tracing-core = { workspace = true }
|
|
tracing-opentelemetry = "0.23.0"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
tracing-appender = { version = "0.2.2" }
|
|
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
|
|
tokio-stream = { workspace = true, features = ["time"] }
|
|
uniffi = { workspace = true, features = ["tokio"] }
|
|
url = "2.2.2"
|
|
zeroize = { workspace = true }
|
|
uuid = { version = "1.4.1", features = ["v4"] }
|
|
language-tags = "0.3.2"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
log-panics = { version = "2", features = ["with-backtrace"] }
|
|
paranoid-android = "0.2.1"
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.matrix-sdk]
|
|
workspace = true
|
|
features = [
|
|
"anyhow",
|
|
"e2e-encryption",
|
|
"experimental-oidc",
|
|
"experimental-sliding-sync",
|
|
"experimental-widgets",
|
|
"markdown",
|
|
"rustls-tls", # note: differ from block below
|
|
"socks",
|
|
"sqlite",
|
|
"uniffi",
|
|
]
|
|
|
|
[target.'cfg(not(target_os = "android"))'.dependencies.matrix-sdk]
|
|
workspace = true
|
|
features = [
|
|
"anyhow",
|
|
"e2e-encryption",
|
|
"experimental-oidc",
|
|
"experimental-sliding-sync",
|
|
"experimental-widgets",
|
|
"markdown",
|
|
"native-tls", # note: differ from block above
|
|
"socks",
|
|
"sqlite",
|
|
"uniffi",
|
|
]
|
|
|
|
[lints]
|
|
workspace = true
|