pyembed 0.21.0

Embed a Python interpreter
Documentation
[package]
name = "pyembed"
# Remember to keep this version string in sync with the PYEMBED_CRATE_VERSION
# constant in pyoxidizer's environment.rs. The release automation should do
# this automatically.
version = "0.21.0"
authors = ["Gregory Szorc <gregory.szorc@gmail.com>"]
edition = "2021"
license = "Python-2.0 OR MPL-2.0"
description = "Embed a Python interpreter"
homepage = "https://github.com/indygreg/PyOxidizer"
repository = "https://github.com/indygreg/PyOxidizer.git"
build = "build.rs"
readme = "README.md"

[dependencies]
# Update documentation in lib.rs when new dependencies are added.
anyhow = "1.0"
dunce = "1.0"
jemalloc-sys = { version = "0.5", optional = true }
libc = "0.2"
once_cell = "1.7"
serde = { version = "1.0", features = ["derive"], optional = true }

[dependencies.snmalloc-sys]
version = "0.2"
features = ["build_cc"]
optional = true

[dependencies.libmimalloc-sys]
version = "0.1"
features = [
    "extended",
    "local_dynamic_tls",
    "override",
]
optional = true

[dependencies.python-oxidized-importer]
version = "0.6.0"
# path = "../python-oxidized-importer"
default-features = false

[dependencies.pyo3]
version = "0.16.5"
default-features = false
features = ["macros"]

[dependencies.python-packaging]
version = "0.13.0"
# path = "../python-packaging"
default-features = false

[build-dependencies]
pyo3-build-config = { version = "0.16.5", features = ["resolve-config"] }

[dev-dependencies]
pathdiff = "0.2"
rusty-fork = "0.3"

[dev-dependencies.python-packed-resources]
version = "0.9.0"
# path = "../python-packed-resources"

[features]
default = ["zipimport"]
allocator-jemalloc = ["jemalloc-sys"]
allocator-mimalloc = ["libmimalloc-sys"]
allocator-snmalloc = ["snmalloc-sys"]
serialization = ["serde", "python-packaging/serialization"]
zipimport = ["python-oxidized-importer/zipimport"]