[package]
edition = "2024"
name = "stageleft"
version = "0.13.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Type-safe staged programming for Rust"
documentation = "https://docs.rs/stageleft/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/hydro-project/stageleft"
resolver = "2"
[lib]
name = "stageleft"
path = "src/lib.rs"
[[test]]
name = "compile_fail"
path = "tests/compile_fail.rs"
[dependencies.ctor]
version = "0.4.1"
[dependencies.proc-macro-crate]
version = "3.3"
[dependencies.proc-macro2]
version = "1"
[dependencies.quote]
version = "1"
[dependencies.stageleft_macro]
version = "^0.13.2"
[dependencies.syn]
version = "2"
features = [
"full",
"visit-mut",
]
[dev-dependencies.slotmap]
version = "1.0.0"
[dev-dependencies.trybuild]
version = "1"
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
explicit_into_iter_loop = "warn"
let_and_return = "allow"
redundant_clone = "warn"
self_named_module_files = "warn"
str_to_string = "warn"
try_err = "warn"
uninlined_format_args = "allow"
unused_async = "warn"
[lints.rust]
impl_trait_overcaptures = "warn"
missing_unsafe_on_extern = "deny"
unsafe_attr_outside_unsafe = "deny"
unused_qualifications = "warn"