41 lines
No EOL
1.2 KiB
TOML
41 lines
No EOL
1.2 KiB
TOML
[package]
|
|
name = "robius-ussd"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
build = "src/build.rs"
|
|
authors = ["Project Robius Maintainers"]
|
|
description = "Rust abstractions for Android USSD sessions, with first-class Safaricom M-Pesa (*334#) support and offline-first transaction tracking."
|
|
documentation = "https://docs.rs/robius-ussd"
|
|
keywords = ["robius", "ussd", "mpesa", "safaricom", "android"]
|
|
readme = "README.md"
|
|
license = "MIT"
|
|
|
|
[features]
|
|
default = []
|
|
serde = ["dep:serde"]
|
|
trollstore = []
|
|
# Dummy event generators are test-only and must never be linked into a
|
|
# production payment target.
|
|
test-support = []
|
|
|
|
[build-dependencies]
|
|
android-build = "0.1.2"
|
|
|
|
[dependencies]
|
|
cfg-if = "1.0.0"
|
|
serde = { version = "1", features = ["derive"], 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_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"] }
|
|
|
|
[[example]]
|
|
name = "simple_ussd"
|
|
path = "src/examples/simple_ussd.rs"
|
|
required-features = ["test-support"] |