# 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" rust-version = "1.79.0" name = "parity-scale-codec" version = "3.7.0" authors = ["Parity Technologies "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "SCALE - Simple Concatenating Aggregated Little Endians" readme = "README.md" categories = ["encoding"] license = "Apache-2.0" repository = "https://github.com/paritytech/parity-scale-codec" [lib] name = "parity_scale_codec" path = "src/lib.rs" bench = false [[test]] name = "chain-error" path = "tests/chain-error.rs" [[test]] name = "clippy" path = "tests/clippy.rs" [[test]] name = "decode_with_mem_tracking_ui" path = "tests/decode_with_mem_tracking_ui.rs" [[test]] name = "max_encoded_len" path = "tests/max_encoded_len.rs" [[test]] name = "max_encoded_len_ui" path = "tests/max_encoded_len_ui.rs" [[test]] name = "mem_tracking" path = "tests/mem_tracking.rs" [[test]] name = "mod" path = "tests/mod.rs" [[test]] name = "scale_codec_ui" path = "tests/scale_codec_ui.rs" [[test]] name = "single_field_struct_encoding" path = "tests/single_field_struct_encoding.rs" [[test]] name = "size_hint" path = "tests/size_hint.rs" [[test]] name = "skip" path = "tests/skip.rs" [[test]] name = "type_inference" path = "tests/type_inference.rs" [[test]] name = "variant_number" path = "tests/variant_number.rs" [[bench]] name = "benches" path = "benches/benches.rs" harness = false [dependencies.arbitrary] version = "1.4.1" features = ["derive"] optional = true [dependencies.arrayvec] version = "0.7" default-features = false [dependencies.bitvec] version = "1" features = ["alloc"] optional = true default-features = false [dependencies.byte-slice-cast] version = "1.2.2" default-features = false [dependencies.bytes] version = "1" optional = true default-features = false [dependencies.generic-array] version = "0.14.7" optional = true [dependencies.impl-trait-for-tuples] version = "0.2.2" [dependencies.parity-scale-codec-derive] version = "3.6.8" optional = true default-features = false [dependencies.serde] version = "1.0.215" optional = true default-features = false [dev-dependencies.criterion] version = "0.4.0" [dev-dependencies.paste] version = "1" [dev-dependencies.proptest] version = "1.5.0" [dev-dependencies.quickcheck] version = "1.0" [dev-dependencies.rustversion] version = "1" [dev-dependencies.serde_derive] version = "1.0" [dev-dependencies.trybuild] version = "1.0.101" [build-dependencies.rustversion] version = "1" [features] bit-vec = ["bitvec"] chain-error = [] default = ["std"] derive = ["parity-scale-codec-derive"] full = [] fuzz = [ "std", "arbitrary", ] max-encoded-len = ["parity-scale-codec-derive?/max-encoded-len"] std = [ "serde/std", "bitvec?/std", "byte-slice-cast/std", "chain-error", ]