[package] name = "robius-sms" version = "0.1.0" edition = "2021" build = "src/build.rs" authors = [ "Kevin Boos ", "Project Robius Maintainers", ] description = "Rust abstractions for multi-platform native SMS access, sending, and Android scheduling." documentation = "https://docs.rs/robius-sms" keywords = ["robius", "sms", "message", "text", "android"] # E10: the manifest carried no licence field, so cargo-deny needed a # [[licenses.clarify]] override asserting this. State it here instead. license = "MIT OR Apache-2.0" readme = "README.md" [features] trollstore = ["dep:rusqlite"] [build-dependencies] android-build = "0.1.2" [dependencies] cfg-if = "1.0.0" rusqlite = { version = "0.32", default-features = false, optional = true } [target.'cfg(target_os = "android")'.dependencies] jni = { version = "0.21.1", default-features = false } robius-android-env = "0.2.0" [target.'cfg(target_os = "windows")'.dependencies] windows-core = { version = "0.56.0", default-features = false } windows = { version = "0.56.0", default-features = false } [target.'cfg(target_vendor = "apple")'.dependencies] block2 = "0.6.1" dispatch2 = { version = "0.3.0", default-features = false, features = ["std"] } objc2 = "0.6.1" objc2-foundation = { version = "0.3.1", default-features = false, features = ["std", "NSString"] } # E9: no Linux-specific dependencies. # # This target used to pull polkit =0.17.0 and gio =0.17.0. sys/linux.rs # references neither: every one of its twelve functions returns # Err(PermanentlyUnavailable). Those two crates -- pinned to 2023 # versions -- dragged in glib and proc-macro-error and were the sole # source of RUSTSEC-2024-0370 and RUSTSEC-2024-0429 for every consumer # of this crate, plus an LGPL-2.1 question about linking polkit into a # distributed binary. # # Deleting them costs nothing: the stub compiles and behaves identically. [dev-dependencies] proptest = "1"