[package]
edition = "2021"
name = "py2pyd"
version = "0.1.6"
authors = ["longhao <hal.long@outlook.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust-based tool to compile Python modules to pyd files"
readme = "README.md"
keywords = [
"python",
"pyd",
"compiler",
"dcc",
"extension",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/loonghao/py2pyd"
[features]
default = []
mimalloc = ["dep:mimalloc"]
[lib]
name = "py2pyd"
path = "src/lib.rs"
[[bin]]
name = "py2pyd"
path = "src/main.rs"
[[example]]
name = "test_runner"
path = "examples/test_runner.rs"
[[example]]
name = "turbo_cdn_test"
path = "examples/turbo_cdn_test.rs"
[[test]]
name = "build_tools_test"
path = "tests/build_tools_test.rs"
[[test]]
name = "e2e_compilation_test"
path = "tests/e2e_compilation_test.rs"
[[test]]
name = "integration_pip_package_test"
path = "tests/integration_pip_package_test.rs"
[[test]]
name = "lib_api_test"
path = "tests/lib_api_test.rs"
[[test]]
name = "parser_test"
path = "tests/parser_test.rs"
[[test]]
name = "pip_download_test"
path = "tests/pip_download_test.rs"
[[test]]
name = "simple_package_test"
path = "tests/simple_package_test.rs"
[[test]]
name = "transformer_test"
path = "tests/transformer_test.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.clap]
version = "4.5"
features = ["derive"]
[dependencies.dirs]
version = "6.0"
[dependencies.dunce]
version = "1.0"
[dependencies.env_logger]
version = "0.11.8"
[dependencies.glob]
version = "0.3"
[dependencies.log]
version = "0.4"
[dependencies.mimalloc]
version = "0.1"
optional = true
[dependencies.once_cell]
version = "1.18"
[dependencies.regex]
version = "1.9"
[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
default-features = false
[dependencies.rustpython-parser]
version = "0.4"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tempfile]
version = "3.8"
[dependencies.tokio]
version = "1.0"
features = ["full"]
[dependencies.turbo-cdn]
version = "0.4.3"
features = ["rustls-tls"]
default-features = false
[dependencies.uuid]
version = "1.4"
features = ["v4"]
[dependencies.walkdir]
version = "2.3"
[dependencies.which]
version = "8.0"
[dependencies.zip]
version = "4.0"
[dev-dependencies.assert_cmd]
version = "2.0"
[dev-dependencies.flate2]
version = "1.0"
[dev-dependencies.predicates]
version = "3.0"
[dev-dependencies.tar]
version = "0.4"
[dev-dependencies.tempfile]
version = "3.8"
[lints.clippy]
cast_precision_loss = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
similar_names = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"