forked from amodm/webbrowser-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (38 loc) · 1.15 KB
/
Cargo.toml
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
46
[package]
name = "webbrowser"
description = "Open URLs in web browsers available on a platform"
version = "0.8.0"
authors = ["Amod Malviya @amodm"]
documentation = "https://docs.rs/webbrowser"
homepage = "https://github.com/amodm/webbrowser-rs"
repository = "https://github.com/amodm/webbrowser-rs"
readme = "README.md"
keywords = ["webbrowser", "browser"]
license = "MIT OR Apache-2.0"
edition = "2018"
[dependencies]
url = "2"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
'Window'
]
[features]
wasm-console = ["web-sys/console"]
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["combaseapi", "objbase", "shellapi", "winerror"] }
widestring = { version = ">= 0.5, <=1.0" }
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.20"
ndk-context = "0.1"
[target.'cfg(target_os = "ios")'.dependencies]
raw-window-handle = "0.5.0"
objc = "0.2.7"
[dev-dependencies]
actix-web = "4"
actix-files = "0.6"
crossbeam-channel = "0.5"
tokio = { version = "1", features = ["full"] }
urlencoding = "2.1"
[target.'cfg(target_os = "android")'.dev-dependencies]
ndk-glue = { version = ">= 0.3, <= 0.7" }