robius-open/Cargo.toml

49 lines
1.4 KiB
TOML

[package]
name = "robius-open"
version = "0.1.0"
edition = "2021"
authors = [
"Klim Tsoutsman <klim@tsoutsman.com>",
"Kevin Boos <kevinaboos@gmail.com>",
"Project Robius Maintainers",
]
description = "Rust abstractions for opening URIs on multiple platforms"
documentation = "https://docs.rs/robius-open"
homepage = "https://robius.rs/"
keywords = ["robius", "URI", "open", "URL", "intent"]
categories = ["os", "hardware-support", "api-bindings"]
license = "MIT"
readme = "README.md"
repository = "https://github.com/project-robius/robius-open"
[dependencies]
cfg-if = "1.0.0"
log = { version = "0.4", optional = true }
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"
default-features = false
[target.'cfg(target_os = "android")'.dependencies.robius-android-env]
version = "0.1.0"
[target.'cfg(target_os = "ios")'.dependencies.icrate]
version = "0.1.0"
features = ["Foundation", "Foundation_NSString", "Foundation_NSURL"]
[target.'cfg(target_os = "ios")'.dependencies.objc2]
version = "0.5.0"
[target.'cfg(target_os = "macos")'.dependencies.icrate]
version = "0.1.0"
features = ["AppKit", "AppKit_NSWorkspace", "Foundation", "Foundation_NSString", "Foundation_NSURL"]
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.54.0"
features = [ "Foundation", "System" ]
[features]
default = ["android-result"]
android-result = []
log = ["dep:log"]