# 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.91"
name = "blueprint-sdk"
version = "0.2.0-alpha.4"
authors = ["Tangle Network"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Blueprint SDK for building decentralized and distributed services."
homepage = "https://tangle.tools"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/tangle-network/blueprint"

[package.metadata.docs.rs]
features = [
    "tangle",
    "tangle-aggregation",
    "tangle-p2p-aggregation",
    "evm",
    "eigenlayer",
    "networking",
    "round-based-compat",
    "gossip",
    "agg-sig-gossip",
    "local-store",
    "macros",
    "build",
    "testing",
    "cronjob",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
agg-sig-gossip = [
    "dep:blueprint-networking-agg-sig-gossip-extension",
    "dep:blueprint-gossip-primitives",
    "networking",
]
build = [
    "dep:blueprint-build-utils",
    "macros",
]
cronjob = ["blueprint-producers-extra/cron"]
default = [
    "std",
    "tracing",
]
eigenlayer = [
    "dep:eigensdk",
    "blueprint-contexts/eigenlayer",
    "blueprint-clients/eigenlayer",
    "blueprint-testing-utils?/eigenlayer",
    "blueprint-eigenlayer-extra",
    "evm",
]
evm = [
    "dep:blueprint-evm-extra",
    "dep:alloy",
    "dep:alloy-json-abi",
    "blueprint-clients/evm",
    "blueprint-contexts/evm",
    "blueprint-context-derive?/evm",
    "blueprint-macros?/evm",
    "blueprint-testing-utils?/anvil",
    "blueprint-chain-setup?/anvil",
]
faas = ["blueprint-runner/faas"]
gossip = [
    "dep:blueprint-gossip-primitives",
    "networking",
]
local-store = ["blueprint-stores/local"]
macros = [
    "dep:blueprint-macros",
    "dep:blueprint-context-derive",
]
networking = [
    "dep:blueprint-networking",
    "blueprint-contexts/networking",
    "blueprint-keystore/std",
    "blueprint-context-derive?/networking",
    "blueprint-runner/networking",
]
remote-providers = ["dep:blueprint-remote-providers"]
round-based-compat = ["dep:blueprint-networking-round-based-extension"]
std = [
    "blueprint-core/std",
    "blueprint-runner/std",
    "blueprint-keystore/std",
    "blueprint-contexts/std",
    "blueprint-clients/std",
    "blueprint-crypto/std",
    "blueprint-context-derive?/std",
    "blueprint-auth/std",
    "blueprint-tangle-extra?/std",
    "blueprint-evm-extra?/std",
    "blueprint-eigenlayer-extra?/std",
    "blueprint-chain-setup?/std",
]
tangle = [
    "dep:blueprint-tangle-extra",
    "dep:alloy",
    "blueprint-clients/tangle",
    "blueprint-contexts/tangle",
    "blueprint-context-derive?/tangle",
    "blueprint-runner/tangle",
    "blueprint-testing-utils?/anvil",
    "blueprint-chain-setup?/anvil",
]
tangle-aggregation = [
    "tangle",
    "blueprint-tangle-extra/aggregation",
]
tangle-p2p-aggregation = [
    "tangle",
    "blueprint-tangle-extra/p2p-aggregation",
    "agg-sig-gossip",
]
tee = [
    "dep:blueprint-tee",
    "blueprint-runner/tee",
]
testing = [
    "blueprint-networking/testing",
    "dep:blueprint-testing-utils",
    "dep:blueprint-chain-setup",
    "dep:tempfile",
    "std",
]
testing-faas = [
    "testing",
    "faas",
    "blueprint-testing-utils/faas",
]
tracing = [
    "blueprint-core/tracing",
    "blueprint-router/tracing",
    "blueprint-producers-extra/tracing",
]
webhooks = ["dep:blueprint-webhooks"]
x402 = ["dep:blueprint-x402"]

[lib]
name = "blueprint_sdk"
path = "src/lib.rs"

[dependencies.alloy]
version = "1.8"
features = ["full"]
optional = true
default-features = false

[dependencies.alloy-json-abi]
version = "1.5"
features = ["serde_json"]
optional = true
default-features = false

[dependencies.blueprint-auth]
version = "0.2.0-alpha.3"
default-features = false

[dependencies.blueprint-build-utils]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-chain-setup]
version = "0.2.0-alpha.4"
optional = true
default-features = false

[dependencies.blueprint-clients]
version = "0.2.0-alpha.4"
default-features = false

[dependencies.blueprint-context-derive]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-contexts]
version = "0.2.0-alpha.4"
features = ["keystore"]
default-features = false

[dependencies.blueprint-core]
version = "0.2.0-alpha.3"
default-features = false

[dependencies.blueprint-crypto]
version = "0.2.0-alpha.3"
default-features = false

[dependencies.blueprint-eigenlayer-extra]
version = "0.2.0-alpha.4"
optional = true
default-features = false

[dependencies.blueprint-evm-extra]
version = "0.2.0-alpha.4"
optional = true
default-features = false

[dependencies.blueprint-gossip-primitives]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-keystore]
version = "0.2.0-alpha.4"
default-features = false

[dependencies.blueprint-macros]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-manager-bridge]
version = "0.2.0-alpha.3"
features = ["client"]
default-features = false

[dependencies.blueprint-networking]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-networking-agg-sig-gossip-extension]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-networking-round-based-extension]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-producers-extra]
version = "0.2.0-alpha.3"
default-features = false

[dependencies.blueprint-qos]
version = "0.2.0-alpha.4"
default-features = false

[dependencies.blueprint-remote-providers]
version = "0.2.0-alpha.4"
optional = true
default-features = false

[dependencies.blueprint-router]
version = "0.2.0-alpha.3"
default-features = false

[dependencies.blueprint-runner]
version = "0.2.0-alpha.4"
default-features = false

[dependencies.blueprint-std]
version = "0.2.0-alpha.3"
default-features = false

[dependencies.blueprint-stores]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-tangle-extra]
version = "0.2.0-alpha.4"
features = ["std"]
optional = true

[dependencies.blueprint-tee]
version = "0.2.0-alpha.3"
optional = true
default-features = false

[dependencies.blueprint-testing-utils]
version = "0.2.0-alpha.4"
optional = true
default-features = false

[dependencies.blueprint-webhooks]
version = "0.2.0-alpha.4"
optional = true
default-features = false

[dependencies.blueprint-x402]
version = "0.2.0-alpha.4"
optional = true
default-features = false

[dependencies.document-features]
version = "0.2.11"
features = ["default"]
default-features = false

[dependencies.eigensdk]
version = "2.0.0"
features = ["full"]
optional = true
default-features = false

[dependencies.openssl-sys]
version = "0.9.109"
features = ["vendored"]
default-features = false

[dependencies.tempfile]
version = "3.25.0"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.17"
default-features = false

[dependencies.tokio]
version = "^1"
default-features = false

[lints.clippy]
assigning_clones = "allow"
bool_to_int_with_if = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
cloned_instead_of_copied = "allow"
collapsible_else_if = "allow"
collapsible_if = "allow"
comparison_chain = "allow"
default_trait_access = "allow"
derivable_impls = "allow"
diverging_sub_expression = "allow"
doc_markdown = "allow"
double_must_use = "allow"
duplicated_attributes = "allow"
explicit_iter_loop = "allow"
field_reassign_with_default = "allow"
fn_params_excessive_bools = "allow"
format_push_string = "allow"
if_not_else = "allow"
ignore_without_reason = "allow"
ignored_unit_patterns = "allow"
implicit_clone = "allow"
implicit_hasher = "allow"
inconsistent_struct_constructor = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
large_futures = "allow"
manual_div_ceil = "allow"
manual_inspect = "allow"
manual_let_else = "allow"
manual_range_contains = "allow"
manual_string_new = "allow"
map_unwrap_or = "allow"
match_same_arms = "allow"
match_wildcard_for_single_variants = "allow"
missing_errors_doc = "allow"
missing_fields_in_debug = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
needless_borrows_for_generic_args = "allow"
needless_continue = "allow"
needless_pass_by_value = "allow"
needless_raw_string_hashes = "allow"
no_effect_underscore_binding = "allow"
option_as_ref_cloned = "allow"
print_literal = "allow"
redundant_closure = "allow"
redundant_closure_for_method_calls = "allow"
redundant_else = "allow"
redundant_slicing = "allow"
result_large_err = "allow"
return_self_not_must_use = "allow"
semicolon_if_nothing_returned = "allow"
similar_names = "allow"
single_char_pattern = "allow"
single_match_else = "allow"
struct_excessive_bools = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
transmute_ptr_to_ptr = "allow"
trivially_copy_pass_by_ref = "allow"
type_complexity = "allow"
unchecked_duration_subtraction = "allow"
uninlined_format_args = "allow"
unnecessary_debug_formatting = "allow"
unnecessary_filter_map = "allow"
unnecessary_map_or = "allow"
unnecessary_wraps = "allow"
unnested_or_patterns = "allow"
unreadable_literal = "allow"
unused_async = "allow"
unused_self = "allow"
used_underscore_binding = "allow"
wildcard_imports = "allow"
wrong_self_convention = "allow"

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

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

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

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

[lints.rustdoc]
broken_intra_doc_links = "deny"
