Debian Codegraph @

Cargo.toml

raw ◀ ▶
Source reconstructed at patch state 1 of 16 — not the installed (fully patched) source.
16 Debian patches touch this file
1 [package]
2 authors = ["konstin <[email protected]>", "messense <[email protected]>"]
3 name = "maturin"
4 version = "1.9.4"
5 description = "Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages"
6 exclude = [
7 "test-crates/**/*",
8 "sysconfig/*",
9 "test-data/*",
10 "ci/*",
11 "tests/*",
12 "guide/*",
13 ".github/*",
14 ".devcontainer/*",
15 "Dockerfile",
16 ".dockerignore",
17 "deny.toml",
18 "noxfile.py",
19 "test-dockerfile.sh",
20 "Code-of-Conduct.md",
21 ]
22 homepage = "https://github.com/pyo3/maturin"
23 readme = "README.md"
24 repository = "https://github.com/pyo3/maturin"
25 license = "MIT OR Apache-2.0"
26 keywords = ["python", "cffi", "packaging", "pypi", "pyo3"]
27 categories = [
28 "api-bindings",
29 "development-tools::ffi",
30 "command-line-utilities",
31 ]
32 edition = "2021"
33 rust-version = "1.74"
34
35 [[bin]]
36 name = "maturin"
37
38 [lib]
39 name = "maturin"
40
41 [dependencies]
42 anyhow = "1.0.80"
43 base64 = "0.22"
44 glob = "0.3.0"
45 cargo-config2 = "0.1.24"
46 cargo_metadata = "0.23"
47 cargo-options = "0.7.2"
48 cbindgen = { version = "0.29.0", default-features = false }
49 flate2 = "1.0.18"
50 goblin = ">= 0.9.0, < 0.11.0"
51 platform-info = "2.0.2"
52 regex = "1.7.0"
53 rustflags = "0.1.7"
54 serde = { version = "1.0.197", features = ["derive"] }
55 serde_json = "1.0.114"
56 sha2 = "0.10.3"
57 tar = "0.4.38"
58 tempfile = "3.2.0"
59 toml = "0.8.10"
60 toml_edit = "0.22.6"
61 zip = { version = "5", default-features = false, features = [
62 "bzip2",
63 "deflate",
64 "time",
65 "zstd",
66 "lzma",
67 ] }
68 thiserror = "2.0.3"
69 fs-err = "3.0.0"
70 fat-macho = { version = "0.4.8", default-features = false }
71 once_cell = "1.7.2"
72 rustc_version = "0.4.0"
73 semver = "1.0.22"
74 target-lexicon = "0.13.0"
75 indexmap = "2.2.3"
76 pyproject-toml = { version = "0.13.5", features = ["pep639-glob"] }
77 python-pkginfo = "0.6.5"
78 textwrap = "0.16.1"
79 ignore = "0.4.20"
80 itertools = ">= 0.12.1, < 0.15"
81 lddtree = "0.5.0"
82 cc = "1.0.88"
83 dunce = "1.0.2"
84 normpath = "1.1.1"
85 path-slash = "0.2.1"
86 pep440_rs = { version = "0.7", features = ["tracing"] }
87 pep508_rs = { version = "0.9", features = ["tracing"] }
88 same-file = "1.0.6"
89 time = "0.3.17"
90 url = "2.5.0"
91 unicode-xid = { version = "0.2.4", optional = true }
92
93 # cli
94 clap = { version = "4.0.0", features = [
95 "derive",
96 "env",
97 "wrap_help",
98 "unstable-styles",
99 ] }
100
101 # cross compile
102
103 # log
104 tracing = "0.1.36"
105 tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
106
107 # project scaffolding, maturin new/init/generate-ci
108 dialoguer = { version = "0.11.0", default-features = false, optional = true }
109 console = { version = "0.15.4", optional = true }
110 minijinja = { version = "2.5.0", optional = true }
111
112 # JSON schema
113 schemars = { version = "0.8.16", optional = true }
114 pretty_assertions = { version = "1.3.0", optional = true }
115
116 [dev-dependencies]
117 expect-test = "1.4.1"
118 fs4 = "0.13"
119 indoc = "2.0.3"
120 insta = "1.34.0"
121 pretty_assertions = "1.3.0"
122 rstest = ">=0.17,<0.27"
123 rustversion = "1.0.9"
124 time = { version = "0.3.34", features = ["macros"] }
125 trycmd = "0.15.0"
126 which = "8"
127
128 [features]
129 default = ["full"]
130
131 full = ["scaffolding"]
132
133 schemars = ["dep:schemars", "dep:pretty_assertions"]
134
135 # project scaffolding
136 scaffolding = ["dialoguer", "console", "minijinja", "unicode-xid"]
137
138 # Internal feature to speed up the tests significantly
139 faster-tests = []
140
141 # Deprecated features, keep them now for compatibility
142 human-panic = []
143 log = []
144
145 [profile.profiling]
146 inherits = "release"
147 debug = true
148
149 # Without this, compressing the .gz archive becomes notably slow for debug builds
150 [profile.dev.package.miniz_oxide]
151 opt-level = 3