-
Notifications
You must be signed in to change notification settings - Fork 76
/
Cargo.toml
125 lines (110 loc) · 2.9 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
[package]
name = "cargo-mobile2"
version = "0.17.4"
authors = [
"Tauri Programme within The Commons Conservancy",
"Brainium Studios LLC",
"Francesca Lovebloom <[email protected]>"
]
edition = "2021"
description = "Rust on mobile made easy!"
documentation = "https://docs.rs/cargo-mobile2"
repository = "https://github.com/tauri-apps/cargo-mobile2"
readme = "README.md"
keywords = [ "cargo", "mobile", "ios", "android", "tauri" ]
categories = [ "development-tools::cargo-plugins" ]
license = "Apache-2.0 OR MIT"
[package.metadata.docs.rs]
no-default-features = true
features = ["native-tls"]
default-target = "x86_64-unknown-linux-gnu"
targets = [
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
]
[[bin]]
name = "cargo-mobile"
required-features = [ "cli" ]
[[bin]]
name = "cargo-apple"
required-features = [ "cli" ]
[[bin]]
name = "cargo-android"
required-features = [ "cli" ]
[features]
cli = [
"home",
"dunce",
"handlebars",
"log",
"serde",
"serde_json",
"thiserror",
"structopt",
"env_logger"
]
brainium = [ ]
rustls = [ "ureq/tls" ]
native-tls = [ "ureq/native-tls" ]
default = [ "cli", "native-tls" ]
[dependencies]
handlebars = "6.0"
serde_json = "1.0"
colored = "2.1"
deunicode = "1.4"
dunce = "1.0"
english-numbers = "0.3"
env_logger = { version = "0.11", optional = true }
heck = "0.5"
home = "0.5"
ignore = "0.4"
java-properties = "2.0"
log = "0.4"
once-cell-regex = "0.2"
path_abs = "0.5"
serde = { version = "1.0", features = [ "derive" ] }
structopt = { version = "0.3", optional = true }
textwrap = { version = "0.16", features = [ "terminal_size" ] }
thiserror = "1.0"
toml = { version = "0.8", features = [ "preserve_order" ] }
duct = "0.13"
which = "6.0"
os_pipe = "1"
[dev-dependencies]
rstest = "0.23"
[target."cfg(target_os = \"macos\")".dependencies]
core-foundation = "0.10"
x509-certificate = "0.23"
os_info = "3"
[target."cfg(not(target_os = \"macos\"))".dependencies]
ureq = { version = "2.9", default-features = false, features = [ "gzip" ] }
[target."cfg(target_os = \"linux\")".dependencies]
freedesktop_entry_parser = "1.3"
[target."cfg(unix)".dependencies]
libc = "0.2"
[target."cfg(windows)".dependencies.windows]
version = "0.58"
features = [
"Win32_Foundation",
"Win32_Security",
"Win32_Storage_FileSystem",
"Win32_System_Diagnostics_Debug",
"Win32_System_IO",
"Win32_System_Ioctl",
"Win32_System_Memory",
"Win32_System_Registry",
"Win32_System_SystemInformation",
"Win32_System_SystemServices",
"Win32_UI_Shell"
]
[target."cfg(windows)".build-dependencies]
embed-resource = "2.4"
[build-dependencies]
home = { version = "0.5", optional = true }
dunce = { version = "1.0", optional = true }
handlebars = { version = "6.0", optional = true }
log = { version = "0.4", optional = true }
serde = { version = "1.0", optional = true }
serde_json = { version = "1.0", optional = true }
thiserror = { version = "1.0", optional = true }