Skip to content

Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.

815 B
Raw Blame
[package]
name = "nectarlink-ffi"
description = "UniFFI bindings for nectarlink-core (used by the Android app)"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
authors.workspace = true
repository.workspace = true
license = "MPL-2.0"
publish = false

[lib]
crate-type = ["cdylib", "lib"]

[[bin]]
# Generates the Kotlin bindings: see android/README.md.
name = "uniffi-bindgen"
path = "src/bin/uniffi-bindgen.rs"
required-features = ["bindgen"]

[features]
bindgen = ["uniffi/cli"]

[dependencies]
nectarlink-core.workspace = true
thiserror.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
uniffi.workspace = true

[target.'cfg(target_os = "android")'.dependencies]
jni-sys = "0.4"
paranoid-android = "0.2"

[lints]
workspace = true