forked from PyO3/maturin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
155 lines (135 loc) · 4.64 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
[package]
authors = ["konstin <[email protected]>", "messense <[email protected]>"]
name = "maturin"
version = "1.4.0"
description = "Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages"
exclude = [
"test-crates/**/*",
"sysconfig/*",
"test-data/*",
"ci/*",
"tests/*",
"guide/*",
".github/*",
".devcontainer/*",
"Dockerfile",
".dockerignore",
"deny.toml",
"noxfile.py",
"test-dockerfile.sh",
"Code-of-Conduct.md",
]
homepage = "https://github.com/pyo3/maturin"
readme = "README.md"
repository = "https://github.com/pyo3/maturin"
license = "MIT OR Apache-2.0"
keywords = ["python", "cffi", "packaging", "pypi", "pyo3"]
categories = ["api-bindings", "development-tools::ffi", "command-line-utilities"]
edition = "2021"
rust-version = "1.70"
[[bin]]
name = "maturin"
[lib]
name = "maturin"
[dependencies]
anyhow = "1.0.63"
base64 = "0.21.0"
glob = "0.3.0"
cargo-config2 = "0.1.16"
cargo_metadata = "0.18.0"
cargo-options = "0.7.2"
cbindgen = { version = "0.26.0", default-features = false }
flate2 = "1.0.18"
goblin = "0.8.0"
platform-info = "2.0.2"
regex = "1.7.0"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.80"
sha2 = "0.10.3"
tar = "0.4.38"
tempfile = "3.2.0"
toml = "0.8.8"
toml_edit = "0.21.0"
zip = { version = "0.6.1", default-features = false, features = ["bzip2", "deflate", "time"] }
thiserror = "1.0.37"
fs-err = "2.11.0"
fat-macho = { version = "0.4.8", default-features = false }
once_cell = "1.7.2"
rustc_version = "0.4.0"
semver = "1.0.13"
target-lexicon = "0.12.8"
indexmap = "2.0.2"
pyproject-toml = "0.8.1"
python-pkginfo = "0.6.0"
textwrap = "0.16.0"
ignore = "0.4.20"
itertools = "0.12.0"
lddtree = "0.3.4"
cc = "1.0.72"
dunce = "1.0.2"
normpath = "1.0.0"
path-slash = "0.2.1"
pep440_rs = { version = "0.3.6", features = ["serde"] }
pep508_rs = { version = "0.2.1", features = ["serde"] }
time = "0.3.17"
# cli
clap = { version = "4.0.0", features = ["derive", "env", "wrap_help", "unstable-styles"] }
clap_complete_command = { version = "0.5.1", optional = true }
# cross compile
cargo-zigbuild = { version = "0.18.3", default-features = false, optional = true }
cargo-xwin = { version = "0.16.4", default-features = false, optional = true }
# log
tracing = "0.1.36"
tracing-subscriber = { version = "0.3.15", features = ["env-filter"], optional = true }
# project scaffolding, maturin new/init/generate-ci
dialoguer = { version = "0.11.0", default-features = false, optional = true }
console = { version = "0.15.4", optional = true }
minijinja = { version = "1.0.7", optional = true }
# upload
bytesize = { version = "1.0.1", optional = true }
configparser = { version = "3.0.3", optional = true }
dirs = { version = "5.0.0", optional = true }
multipart = { version = "0.18.0", features = ["client"], default-features = false, optional = true }
ureq = { version = "2.9.4", features = ["gzip", "json", "socks-proxy"], default-features = false, optional = true }
native-tls = { version = "0.2.8", optional = true }
rustls = { version = "0.22.2", optional = true }
rustls-pemfile = { version = "2.0.0", optional = true }
keyring = { version = "2.0.0", default-features = false, features = ["linux-no-secret-service"], optional = true }
wild = { version = "2.1.0", optional = true }
url = { version = "2.3.0", optional = true }
[dev-dependencies]
expect-test = "1.4.1"
indoc = "2.0.3"
pretty_assertions = "1.3.0"
rustversion = "1.0.9"
time = { version = "0.3.17", features = ["macros"] }
trycmd = "0.14.11"
which = "6.0.0"
[features]
default = ["full", "rustls"]
full = ["cli-completion", "cross-compile", "log", "scaffolding", "upload"]
log = ["tracing-subscriber"]
cli-completion = ["dep:clap_complete_command"]
upload = ["ureq", "multipart", "configparser", "bytesize", "dialoguer/password", "url", "wild", "dep:dirs"]
# keyring doesn't support *BSD so it's not enabled in `full` by default
password-storage = ["upload", "keyring"]
rustls = ["dep:rustls", "ureq?/tls", "cargo-xwin?/rustls-tls", "dep:rustls-pemfile"]
native-tls = ["dep:native-tls", "ureq?/native-tls", "cargo-xwin?/native-tls", "dep:rustls-pemfile"]
# cross compile using zig or xwin
cross-compile = ["zig", "xwin"]
zig = ["cargo-zigbuild"]
xwin = ["cargo-xwin"]
# project scaffolding
scaffolding = ["dialoguer", "console", "minijinja"]
# Internal feature to speed up the tests significantly
faster-tests = []
# Deprecated features, keep it now for compatibility
human-panic = []
# Without this, compressing the .gz archive becomes notably slow for debug builds
[profile.dev.package.miniz_oxide]
opt-level = 3
# Speedup cargo-xwin for debug builds
[profile.dev.package.cab]
opt-level = 3
[profile.dev.package.msi]
opt-level = 3