# 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"
rust-version = "1.88"
name = "blueprint-context-derive"
version = "0.1.0-alpha.13"
authors = ["Tangle Network"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Procedural macros for deriving Context Extension traits from blueprint-sdk"
homepage = "https://tangle.tools"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/tangle-network/blueprint"

[features]
default = ["std"]
evm = []
networking = []
std = []
tangle = []

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

[[test]]
name = "tests"
path = "tests/tests.rs"

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

[dependencies.quote]
version = "1.0"
default-features = false

[dependencies.syn]
version = "2.0"
features = ["full"]
default-features = true

[dev-dependencies.alloy-network]
version = "1.0.35"
default-features = false

[dev-dependencies.alloy-provider]
version = "1.0.35"
features = [
    "reqwest",
    "ws",
]
default-features = false

[dev-dependencies.alloy-transport]
version = "1.0.35"
default-features = false

[dev-dependencies.round-based]
version = "0.4.1"
features = ["derive"]
default-features = false

[dev-dependencies.serde]
version = "1.0.208"
default-features = false

[dev-dependencies.tangle-subxt]
version = "0.24.0"
default-features = false

[dev-dependencies.trybuild]
version = "1.0"
default-features = false

[lints.clippy]
assigning_clones = "allow"
ignore_without_reason = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
match_wildcard_for_single_variants = "allow"
needless_late_init = "allow"
result_large_err = "allow"
similar_names = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_lines = "allow"
transmute_ptr_to_ptr = "allow"
uninlined_format_args = "allow"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "deny"
priority = -1

[lints.rust]
async_fn_in_trait = "allow"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unused_import_braces = "deny"

[lints.rust.rust_2018_idioms]
level = "deny"
priority = -1

[lints.rustdoc]
broken_intra_doc_links = "deny"
