[package]
edition = "2021"
rust-version = "1.77.0"
name = "robius-open"
version = "0.3.0"
authors = [
"Kevin Boos <kevinaboos@gmail.com>",
"Klim Tsoutsman <klim@tsoutsman.com>",
"Project Robius Maintainers",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust abstractions for opening URIs on multiple platforms"
homepage = "https://robius.rs/"
documentation = "https://docs.rs/robius-open"
readme = "README.md"
keywords = [
"robius",
"URI",
"open",
"URL",
"intent",
]
categories = [
"os",
"hardware-support",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/project-robius/robius"
[features]
log = ["dep:log"]
[lib]
name = "robius_open"
path = "src/lib.rs"
[[example]]
name = "open_mail"
path = "examples/open_mail.rs"
[[example]]
name = "open_tel"
path = "examples/open_tel.rs"
[[example]]
name = "open_url"
path = "examples/open_url.rs"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.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.2.0"
[target.'cfg(target_os = "ios")'.dependencies.block2]
version = "0.6.1"
[target.'cfg(target_os = "ios")'.dependencies.dispatch2]
version = "0.3.1"
features = [
"std",
"objc2",
]
default-features = false
[target.'cfg(target_os = "ios")'.dependencies.objc2]
version = "0.6.4"
[target.'cfg(target_os = "ios")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"std",
"alloc",
"NSDictionary",
"NSObject",
"NSString",
"NSURL",
]
default-features = false
[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.3.2"
features = [
"std",
"alloc",
"block2",
"UIApplication",
"UIResponder",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
"std",
"NSWorkspace",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"std",
"NSString",
"NSURL",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.56.0"
features = [
"Foundation",
"System",
]
default-features = false