dfir_macro 0.16.0

Macro for using Hydro's Data Flow Intermediate Representation (DFIR).
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 = "2024"
name = "dfir_macro"
version = "0.16.0"
build = "build.rs"
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Macro for using Hydro's Data Flow Intermediate Representation (DFIR)."
documentation = "https://docs.rs/dfir_macro/"
readme = false
license = "Apache-2.0"
repository = "https://github.com/hydro-project/hydro"
resolver = "2"

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

[dependencies.dfir_lang]
version = "^0.16.0"

[dependencies.hydro_build_utils]
version = "^0.1.0"
optional = true

[dependencies.proc-macro-crate]
version = "3.3"

[dependencies.proc-macro2]
version = "1.0.95"

[dependencies.quote]
version = "1.0.35"

[dependencies.syn]
version = "2.0.46"
features = [
    "parsing",
    "extra-traits",
]

[build-dependencies.dfir_lang]
version = "^0.16.0"

[build-dependencies.hydro_build_utils]
version = "^0.1.0"

[build-dependencies.itertools]
version = "0.14.0"

[build-dependencies.quote]
version = "1.0.35"

[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"