pyforge-macros 0.3.0

Proc macros for PyForge — modern Python-Rust bindings
Documentation
# 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 = "pyforge-macros"
version = "0.3.0"
authors = ["Abdulwahed Mansour"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Proc macros for PyForge — modern Python-Rust bindings"
homepage = "https://github.com/abdulwahed-sweden/pyforge"
readme = false
keywords = [
    "pyforge",
    "python",
    "cpython",
    "ffi",
]
categories = [
    "api-bindings",
    "development-tools::ffi",
]
license = "MIT"
repository = "https://github.com/abdulwahed-sweden/pyforge"

[features]
experimental-async = ["pyforge-macros-backend/experimental-async"]
experimental-inspect = ["pyforge-macros-backend/experimental-inspect"]
multiple-pymethods = []

[lib]
name = "pyforge_macros"
path = "src/lib.rs"
proc-macro = true

[dependencies.proc-macro2]
version = "1.0.60"
default-features = false

[dependencies.pyforge-macros-backend]
version = "=0.3.0"

[dependencies.quote]
version = "1"

[dependencies.syn]
version = "2"
features = [
    "full",
    "extra-traits",
]

[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 = "allow"
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.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "warn"