# 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" name = "pyembed" version = "0.24.0" authors = ["Gregory Szorc "] build = "build.rs" description = "Embed a Python interpreter" homepage = "https://github.com/indygreg/PyOxidizer" readme = "README.md" license = "Python-2.0 OR MPL-2.0" repository = "https://github.com/indygreg/PyOxidizer.git" [[package.metadata.release.pre-release-replacements]] file = "../pyoxidizer/src/environment.rs" search = "const PYEMBED_CRATE_VERSION: &str = .*;" replace = "const PYEMBED_CRATE_VERSION: &str = \"{{version}}\";" exactly = 1 [dependencies.anyhow] version = "1.0.68" [dependencies.dunce] version = "1.0.3" [dependencies.jemalloc-sys] version = "0.5.2" optional = true [dependencies.libc] version = "0.2.139" [dependencies.libmimalloc-sys] version = "0.1.28" features = [ "extended", "local_dynamic_tls", "override", ] optional = true [dependencies.once_cell] version = "1.17.0" [dependencies.pyo3] version = "0.17.3" features = ["macros"] default-features = false [dependencies.python-oxidized-importer] version = "0.9.0-pre" default-features = false [dependencies.python-packaging] version = "0.16.0-pre" default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.snmalloc-sys] version = "0.2.28" features = ["build_cc"] optional = true [dev-dependencies.pathdiff] version = "0.2.1" [dev-dependencies.python-packed-resources] version = "0.12.0-pre" [dev-dependencies.rusty-fork] version = "0.3.0" [build-dependencies.pyo3-build-config] version = "0.17.3" features = ["resolve-config"] [features] allocator-jemalloc = ["jemalloc-sys"] allocator-mimalloc = ["libmimalloc-sys"] allocator-snmalloc = ["snmalloc-sys"] default = ["zipimport"] serialization = [ "serde", "python-packaging/serialization", ] zipimport = ["python-oxidized-importer/zipimport"]