[package]
edition = "2024"
name = "copy_span"
version = "0.1.1"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macro emitting tokens with the span of another set of tokens."
documentation = "https://docs.rs/copy_span/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/hydro-project/hydro"
resolver = "2"
[lib]
name = "copy_span"
path = "src/lib.rs"
proc-macro = true
[dependencies.proc-macro2]
version = "1.0.95"
[dependencies.quote]
version = "1"
[dependencies.syn]
version = "2"
features = [
"parsing",
"extra-traits",
]
[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
explicit_into_iter_loop = "warn"
let_and_return = "allow"
manual_is_variant_and = "warn"
manual_let_else = "warn"
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"