File: Cargo.toml

package info (click to toggle)
python-maturin 1.9.4-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,424 kB
  • sloc: python: 656; javascript: 93; sh: 55; makefile: 10
file content (151 lines) | stat: -rw-r--r-- 3,527 bytes parent folder | download
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
[package]
authors = ["konstin <konstin@mailbox.org>", "messense <messense@icloud.com>"]
name = "maturin"
version = "1.9.4"
description = "Build and publish crates with pyo3, cffi and uniffi 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.74"

[[bin]]
name = "maturin"

[lib]
name = "maturin"

[dependencies]
anyhow = "1.0.80"
base64 = "0.22"
glob = "0.3.0"
cargo-config2 = "0.1.24"
cargo_metadata = "0.23"
cargo-options = "0.7.2"
cbindgen = { version = "0.29.0", default-features = false }
flate2 = "1.0.18"
goblin = "0.9.0"
platform-info = "2.0.2"
regex = "1.7.0"
rustflags = "0.1.7"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
sha2 = "0.10.3"
tar = "0.4.38"
tempfile = "3.2.0"
toml = "0.8.10"
toml_edit = "0.22.6"
zip = { version = "5", default-features = false, features = [
    "bzip2",
    "deflate",
    "time",
    "zstd",
    "lzma",
] }
thiserror = "2.0.3"
fs-err = "3.0.0"
fat-macho = { version = "0.4.8", default-features = false }
once_cell = "1.7.2"
rustc_version = "0.4.0"
semver = "1.0.22"
target-lexicon = "0.13.0"
indexmap = "2.2.3"
pyproject-toml = { version = "0.13.5", features = ["pep639-glob"] }
python-pkginfo = "0.6.5"
textwrap = "0.16.1"
ignore = "0.4.20"
itertools = "0.13"
lddtree = "0.3.7"
cc = "1.0.88"
dunce = "1.0.2"
normpath = "1.1.1"
path-slash = "0.2.1"
pep440_rs = { version = "0.7", features = ["tracing"] }
pep508_rs = { version = "0.9", features = ["tracing"] }
same-file = "1.0.6"
time = "0.3.17"
url = "2.5.0"
unicode-xid = { version = "0.2.4", optional = true }

# cli
clap = { version = "4.0.0", features = [
    "derive",
    "env",
    "wrap_help",
    "unstable-styles",
] }

# cross compile

# log
tracing = "0.1.36"
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }

# 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 = "2.5.0", optional = true }

# JSON schema
schemars = { version = "0.8.16", optional = true }
pretty_assertions = { version = "1.3.0", optional = true }

[dev-dependencies]
expect-test = "1.4.1"
fs4 = "0.13"
indoc = "2.0.3"
insta = "1.34.0"
pretty_assertions = "1.3.0"
rstest = "0.17"
rustversion = "1.0.9"
time = { version = "0.3.34", features = ["macros"] }
trycmd = "0.15.0"
which = "8"

[features]
default = ["full"]

full = ["scaffolding"]

schemars = ["dep:schemars", "dep:pretty_assertions"]

# project scaffolding
scaffolding = ["dialoguer", "console", "minijinja", "unicode-xid"]

# Internal feature to speed up the tests significantly
faster-tests = []

# Deprecated features, keep them now for compatibility
human-panic = []
log = []

[profile.profiling]
inherits = "release"
debug = true

# Without this, compressing the .gz archive becomes notably slow for debug builds
[profile.dev.package.miniz_oxide]
opt-level = 3