# 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 = "klvm-traits" version = "0.10.0" authors = ["Brandon Haggstrom "] description = "Traits for encoding and decoding KLVM objects." homepage = "https://github.com/Chik-Network/chik_rs" license = "Apache-2.0" repository = "https://github.com/Chik-Network/chik_rs" [package.metadata.docs.rs] features = [ "derive", "chik-bls", ] [dependencies.chik-bls] version = "0.10.0" optional = true [dependencies.klvm-derive] version = "0.10.0" optional = true [dependencies.klvmr] version = "0.7.0" [dependencies.num-bigint] version = "0.4.3" [dependencies.pyo3] version = "0.21.2" optional = true [dependencies.thiserror] version = "1.0.47" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.hex-literal] version = "0.4.1" [features] chik-bls = ["dep:chik-bls"] derive = ["dep:klvm-derive"] py-bindings = ["dep:pyo3"] [lints.clippy] cast_lossless = "allow" cast_possible_truncation = "allow" cast_possible_wrap = "allow" cast_precision_loss = "allow" cast_sign_loss = "allow" doc_markdown = "allow" missing_errors_doc = "allow" missing_panics_doc = "allow" module_name_repetitions = "allow" must_use_candidate = "allow" similar_names = "allow" too_many_lines = "allow" wildcard_imports = "allow" [lints.clippy.all] level = "deny" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.rust] dead_code = "deny" deprecated = "deny" deprecated_in_future = "deny" non_ascii_idents = "deny" trivial_casts = "deny" trivial_numeric_casts = "deny" unreachable_code = "deny" unreachable_patterns = "deny" unsafe_code = "deny" unused_import_braces = "deny" unused_imports = "deny" [lints.rust.future_incompatible] level = "deny" priority = -1 [lints.rust.nonstandard_style] level = "deny" priority = -1 [lints.rust.rust_2018_idioms] level = "deny" priority = -1 [lints.rust.rust_2021_compatibility] level = "deny" priority = -1