blueprint-profiling 0.2.0-alpha.2

Profiling utilities for Tangle Blueprints
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 = "2021"
name = "blueprint-profiling"
version = "0.2.0-alpha.2"
authors = ["Tangle Network"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Profiling utilities for Tangle Blueprints"
homepage = "https://tangle.tools"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/tangle-network/blueprint"
resolver = "3"

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

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "memory_profiling"
path = "examples/memory_profiling.rs"

[[example]]
name = "simple_profiling"
path = "examples/simple_profiling.rs"

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

[dependencies.base64]
version = "0.22.0"
features = ["std"]
default-features = false

[dependencies.chrono]
version = "0.4"
features = [
    "std",
    "clock",
]
default-features = false

[dependencies.flate2]
version = "1.0"

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

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

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

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

[dev-dependencies.rand]
version = "0.8.5"
features = [
    "std",
    "std_rng",
]
default-features = false

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

[target."cfg(unix)".dependencies.libc]
version = "0.2.175"
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"
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"