This repository was archived by the owner on Jul 7, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCargo.toml
More file actions
45 lines (39 loc) · 1.62 KB
/
Cargo.toml
File metadata and controls
45 lines (39 loc) · 1.62 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
[package]
name = "robius-open"
version = "0.2.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 }
robius-android-env = "0.2.0"
[target.'cfg(target_os = "ios")'.dependencies]
block2 = "0.6.1"
dispatch2 = { version = "0.3.0", default-features = false, features = ["std", "objc2"] }
objc2 = "0.6.1"
objc2-foundation = { version = "0.3.1", default-features = false, features = ["alloc", "NSDictionary", "NSObject", "NSString", "NSURL"] }
objc2-ui-kit = { version = "0.3.1", default-features = false, features = ["alloc", "block2", "UIApplication", "UIResponder"] }
[target.'cfg(target_os = "macos")'.dependencies]
objc2-app-kit = { version = "0.3.1", default-features = false, features = ["NSWorkspace"] }
objc2-foundation = { version = "0.3.1", default-features = false, features = ["alloc", "NSString", "NSURL"] }
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.54.0"
features = [ "Foundation", "System" ]
[features]
default = ["android-result"]
android-result = []
log = ["dep:log"]