# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.74" name = "maturin" version = "1.7.4" authors = [ "konstin ", "messense ", ] build = false exclude = [ "test-crates/**/*", "sysconfig/*", "test-data/*", "ci/*", "tests/*", "guide/*", ".github/*", ".devcontainer/*", "Dockerfile", ".dockerignore", "deny.toml", "noxfile.py", "test-dockerfile.sh", "Code-of-Conduct.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages" homepage = "https://github.com/pyo3/maturin" readme = "README.md" keywords = [ "python", "cffi", "packaging", "pypi", "pyo3", ] categories = [ "api-bindings", "development-tools::ffi", "command-line-utilities", ] license = "MIT OR Apache-2.0" repository = "https://github.com/pyo3/maturin" [profile.dev.package.cab] opt-level = 3 [profile.dev.package.miniz_oxide] opt-level = 3 [profile.dev.package.msi] opt-level = 3 [profile.profiling] debug = 2 inherits = "release" [lib] name = "maturin" path = "src/lib.rs" [[bin]] name = "maturin" path = "src/main.rs" [dependencies.anyhow] version = "1.0.80" [dependencies.base64] version = "0.21.0" [dependencies.bytesize] version = "1.0.1" optional = true [dependencies.cargo-config2] version = "0.1.24" [dependencies.cargo-options] version = "0.7.2" [dependencies.cargo-xwin] version = "0.16.5" optional = true default-features = false [dependencies.cargo-zigbuild] version = "0.19.3" optional = true default-features = false [dependencies.cargo_metadata] version = "0.18.0" [dependencies.cbindgen] version = "0.26.0" default-features = false [dependencies.cc] version = "1.0.88" [dependencies.clap] version = "4.0.0" features = [ "derive", "env", "wrap_help", "unstable-styles", ] [dependencies.clap_complete_command] version = "0.6.1" optional = true [dependencies.configparser] version = "3.0.3" optional = true [dependencies.console] version = "0.15.4" optional = true [dependencies.dialoguer] version = "0.11.0" optional = true default-features = false [dependencies.dirs] version = "5.0.0" optional = true [dependencies.dunce] version = "1.0.2" [dependencies.fat-macho] version = "0.4.8" default-features = false [dependencies.flate2] version = "1.0.18" [dependencies.fs-err] version = "2.11.0" [dependencies.glob] version = "0.3.0" [dependencies.goblin] version = "0.8.0" [dependencies.ignore] version = "0.4.20" [dependencies.indexmap] version = "2.2.3" [dependencies.itertools] version = "0.12.1" [dependencies.keyring] version = "2.3.2" features = ["linux-no-secret-service"] optional = true default-features = false [dependencies.lddtree] version = "0.3.4" [dependencies.minijinja] version = "1.0.7" optional = true [dependencies.multipart] version = "0.18.0" features = ["client"] optional = true default-features = false [dependencies.native-tls] version = "0.2.8" optional = true [dependencies.normpath] version = "1.1.1" [dependencies.once_cell] version = "1.7.2" [dependencies.path-slash] version = "0.2.1" [dependencies.pep440_rs] version = "0.6.0" features = [ "serde", "tracing", ] [dependencies.pep508_rs] version = "0.6.0" features = [ "serde", "tracing", ] [dependencies.platform-info] version = "2.0.2" [dependencies.pretty_assertions] version = "1.3.0" optional = true [dependencies.pyproject-toml] version = "0.11.0" [dependencies.python-pkginfo] version = "0.6.0" [dependencies.regex] version = "1.7.0" [dependencies.rustc_version] version = "0.4.0" [dependencies.rustls] version = "0.22.4" optional = true [dependencies.rustls-pemfile] version = "2.1.0" optional = true [dependencies.same-file] version = "1.0.6" [dependencies.schemars] version = "0.8.16" optional = true [dependencies.semver] version = "1.0.22" [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.114" [dependencies.sha2] version = "0.10.3" [dependencies.tar] version = "0.4.38" [dependencies.target-lexicon] version = "0.12.14" [dependencies.tempfile] version = "3.2.0" [dependencies.textwrap] version = "0.16.1" [dependencies.thiserror] version = "1.0.37" [dependencies.time] version = "0.3.17" [dependencies.toml] version = "0.8.10" [dependencies.toml_edit] version = "0.22.6" [dependencies.tracing] version = "0.1.36" [dependencies.tracing-subscriber] version = "0.3.15" features = ["env-filter"] [dependencies.unicode-xid] version = "0.2.4" optional = true [dependencies.ureq] version = "2.9.4" features = [ "gzip", "json", "socks-proxy", ] optional = true default-features = false [dependencies.url] version = "2.5.0" [dependencies.wild] version = "2.1.0" optional = true [dependencies.zip] version = "0.6.1" features = [ "bzip2", "deflate", "time", ] default-features = false [dev-dependencies.expect-test] version = "1.4.1" [dev-dependencies.indoc] version = "2.0.3" [dev-dependencies.pretty_assertions] version = "1.3.0" [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.rustversion] version = "1.0.9" [dev-dependencies.time] version = "0.3.34" features = ["macros"] [dev-dependencies.trycmd] version = "0.15.0" [dev-dependencies.which] version = "6.0.0" [features] cli-completion = ["dep:clap_complete_command"] cross-compile = [ "zig", "xwin", ] default = [ "full", "rustls", ] faster-tests = [] full = [ "cli-completion", "cross-compile", "scaffolding", "upload", ] human-panic = [] log = [] native-tls = [ "dep:native-tls", "ureq?/native-tls", "cargo-xwin?/native-tls", "dep:rustls-pemfile", ] password-storage = [ "upload", "keyring", ] rustls = [ "dep:rustls", "ureq?/tls", "cargo-xwin?/rustls-tls", "dep:rustls-pemfile", ] scaffolding = [ "dialoguer", "console", "minijinja", "unicode-xid", ] schemars = [ "dep:schemars", "dep:pretty_assertions", ] upload = [ "ureq", "multipart", "configparser", "bytesize", "dialoguer/password", "wild", "dep:dirs", ] xwin = ["cargo-xwin"] zig = ["cargo-zigbuild"]