112 lines
2.8 KiB
TOML
112 lines
2.8 KiB
TOML
# 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.83"
|
|
name = "pyo3-macros-backend"
|
|
version = "0.29.2"
|
|
authors = ["PyO3 Project and Contributors <https://github.com/PyO3>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Code generation for PyO3 package"
|
|
homepage = "https://github.com/pyo3/pyo3"
|
|
readme = false
|
|
keywords = [
|
|
"pyo3",
|
|
"python",
|
|
"cpython",
|
|
"ffi",
|
|
]
|
|
categories = [
|
|
"api-bindings",
|
|
"development-tools::ffi",
|
|
]
|
|
license = "MIT OR Apache-2.0"
|
|
repository = "https://github.com/pyo3/pyo3"
|
|
|
|
[features]
|
|
experimental-async = []
|
|
experimental-inspect = []
|
|
|
|
[lib]
|
|
name = "pyo3_macros_backend"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies.heck]
|
|
version = "0.5"
|
|
|
|
[dependencies.proc-macro2]
|
|
version = "1.0.60"
|
|
default-features = false
|
|
|
|
[dependencies.quote]
|
|
version = "1.0.37"
|
|
default-features = false
|
|
|
|
[dependencies.syn]
|
|
version = "2.0.59"
|
|
features = [
|
|
"derive",
|
|
"parsing",
|
|
"printing",
|
|
"clone-impls",
|
|
"full",
|
|
"extra-traits",
|
|
"visit-mut",
|
|
]
|
|
default-features = false
|
|
|
|
[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"
|
|
undocumented_unsafe_blocks = "warn"
|
|
unnecessary_wraps = "warn"
|
|
used_underscore_binding = "warn"
|
|
useless_transmute = "warn"
|
|
|
|
[lints.rust]
|
|
elided_lifetimes_in_paths = "warn"
|
|
invalid_doc_attributes = "warn"
|
|
rust_2021_prelude_collisions = "warn"
|
|
unsafe_op_in_unsafe_fn = "warn"
|
|
unused_lifetimes = "warn"
|
|
|
|
[lints.rust.rust_2018_idioms]
|
|
level = "warn"
|
|
priority = -1
|
|
|
|
[lints.rust.unexpected_cfgs]
|
|
level = "warn"
|
|
priority = 0
|
|
check-cfg = [
|
|
"cfg(pyo3_disable_reference_pool)",
|
|
"cfg(pyo3_leak_on_drop_without_reference_pool)",
|
|
"cfg(pyo3_use_raw_dylib)",
|
|
'cfg(pyo3_dll, values("python3", "python3_d", "python3t", "python3t_d", "python38", "python38_d", "python39", "python39_d", "python310", "python310_d", "python311", "python311_d", "python312", "python312_d", "python313", "python313_d", "python313t", "python313t_d", "python314", "python314_d", "python314t", "python314t_d", "python315", "python315_d", "python315t", "python315t_d", "python316", "python316_d", "python316t", "python316t_d", "libpypy3.11-c"))',
|
|
]
|
|
|
|
[lints.rustdoc]
|
|
bare_urls = "warn"
|
|
broken_intra_doc_links = "warn"
|