pyo3 0.21.2

Bindings to Python interpreter
Documentation
[build-dependencies.pyo3-build-config]
features = ["resolve-config"]
version = "=0.21.2"
[dependencies.anyhow]
optional = true
version = "1.0"

[dependencies.cfg-if]
version = "1.0"

[dependencies.chrono]
default-features = false
optional = true
version = "0.4.25"

[dependencies.chrono-tz]
default-features = false
optional = true
version = ">= 0.6, < 0.9"

[dependencies.either]
optional = true
version = "1.9"

[dependencies.eyre]
optional = true
version = ">= 0.4, < 0.7"

[dependencies.hashbrown]
optional = true
version = ">= 0.9, < 0.15"

[dependencies.indexmap]
optional = true
version = ">= 1.6, < 3"

[dependencies.indoc]
optional = true
version = "2.0.1"

[dependencies.inventory]
optional = true
version = "0.3.0"

[dependencies.libc]
version = "0.2.62"

[dependencies.memoffset]
version = "0.9"

[dependencies.num-bigint]
optional = true
version = "0.4"

[dependencies.num-complex]
optional = true
version = ">= 0.2, < 0.5"

[dependencies.parking_lot]
version = ">= 0.11, < 0.13"

[dependencies.portable-atomic]
version = "1.0"

[dependencies.pyo3-ffi]
version = "=0.21.2"

[dependencies.pyo3-macros]
optional = true
version = "=0.21.2"

[dependencies.rust_decimal]
default-features = false
optional = true
version = "1.0.0"

[dependencies.serde]
optional = true
version = "1.0"

[dependencies.smallvec]
optional = true
version = "1.0"

[dependencies.unindent]
optional = true
version = "0.2.1"
[dev-dependencies.assert_approx_eq]
version = "1.1.0"

[dev-dependencies.chrono]
version = "0.4.25"

[dev-dependencies.chrono-tz]
version = ">= 0.6, < 0.9"

[dev-dependencies.futures]
version = "0.3.28"

[dev-dependencies.proptest]
default-features = false
features = ["std"]
version = "1.0"

[dev-dependencies.rayon]
version = "1.6.1"

[dev-dependencies.send_wrapper]
version = "0.6"

[dev-dependencies.serde]
features = ["derive"]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0.61"

[dev-dependencies.trybuild]
version = ">=1.0.70"

[features]
abi3 = ["pyo3-build-config/abi3", "pyo3-ffi/abi3"]
abi3-py310 = ["abi3-py311", "pyo3-build-config/abi3-py310", "pyo3-ffi/abi3-py310"]
abi3-py311 = ["abi3-py312", "pyo3-build-config/abi3-py311", "pyo3-ffi/abi3-py311"]
abi3-py312 = ["abi3", "pyo3-build-config/abi3-py312", "pyo3-ffi/abi3-py312"]
abi3-py37 = ["abi3-py38", "pyo3-build-config/abi3-py37", "pyo3-ffi/abi3-py37"]
abi3-py38 = ["abi3-py39", "pyo3-build-config/abi3-py38", "pyo3-ffi/abi3-py38"]
abi3-py39 = ["abi3-py310", "pyo3-build-config/abi3-py39", "pyo3-ffi/abi3-py39"]
auto-initialize = []
default = ["macros"]
experimental-async = ["macros", "pyo3-macros/experimental-async"]
experimental-declarative-modules = ["pyo3-macros/experimental-declarative-modules", "macros"]
experimental-inspect = []
extension-module = ["pyo3-ffi/extension-module"]
full = ["macros", "anyhow", "chrono", "chrono-tz", "either", "experimental-async", "experimental-declarative-modules", "experimental-inspect", "eyre", "hashbrown", "indexmap", "num-bigint", "num-complex", "rust_decimal", "serde", "smallvec"]
generate-import-lib = ["pyo3-ffi/generate-import-lib"]
gil-refs = []
macros = ["pyo3-macros", "indoc", "unindent"]
multiple-pymethods = ["inventory", "pyo3-macros/multiple-pymethods"]
nightly = []
[lints.clippy]
checked_conversions = "warn"
dbg_macro = "warn"
explicit_into_iter_loop = "warn"
explicit_iter_loop = "warn"
filter_map_next = "warn"
flat_map_option = "warn"
let_unit_value = "warn"
manual_assert = "warn"
manual_ok_or = "warn"
todo = "warn"
unnecessary_wraps = "warn"
used_underscore_binding = "warn"
useless_transmute = "warn"

[lints.rust]
elided_lifetimes_in_paths = "warn"
invalid_doc_attributes = "warn"
rust_2018_idioms = "warn"
rust_2021_prelude_collisions = "warn"
unused_lifetimes = "warn"

[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"

[package]
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
categories = ["api-bindings", "development-tools::ffi"]
description = "Bindings to Python interpreter"
documentation = "https://docs.rs/crate/pyo3/"
edition = "2021"
exclude = ["/.gitignore", ".cargo/config", "/codecov.yml", "/Makefile", "/pyproject.toml", "/noxfile.py", "/.github", "/tests/test_compile_error.rs", "/tests/ui"]
homepage = "https://github.com/pyo3/pyo3"
keywords = ["pyo3", "python", "cpython", "ffi"]
license = "MIT OR Apache-2.0"
name = "pyo3"
readme = "README.md"
repository = "https://github.com/pyo3/pyo3"
rust-version = "1.56"
version = "0.21.2"
[package.metadata.docs.rs]
features = ["full", "gil-refs"]
no-default-features = true
rustdoc-args = ["--cfg", "docsrs"]