# 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.81.0" name = "scale-encode" version = "0.10.0" authors = ["Parity Technologies "] build = false include = [ "Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Encode types to SCALE bytes given a desired target type" homepage = "https://www.parity.io/" documentation = "https://docs.rs/scale-encode" readme = "README.md" keywords = [ "parity", "scale", "encoding", ] license = "Apache-2.0" repository = "https://github.com/paritytech/scale-encode" [lib] name = "scale_encode" path = "src/lib.rs" [dependencies.codec] version = "3.0.0" features = ["derive"] default-features = false package = "parity-scale-codec" [dependencies.primitive-types] version = "0.13.1" optional = true default-features = false [dependencies.scale-bits] version = "0.7.0" optional = true default-features = false [dependencies.scale-encode-derive] version = "0.10.0" optional = true [dependencies.scale-type-resolver] version = "0.2.0" features = ["visitor"] default-features = false [dependencies.smallvec] version = "1.10.0" [dependencies.thiserror] version = "2.0.0" default-features = false [dev-dependencies.bitvec] version = "1.0.1" default-features = false [dev-dependencies.codec] version = "3.0.0" features = [ "derive", "bit-vec", ] default-features = false package = "parity-scale-codec" [dev-dependencies.primitive-types] version = "0.13.1" features = ["scale-info"] default-features = false [dev-dependencies.scale-encode-derive] version = "0.10.0" [dev-dependencies.scale-info] version = "2.3.0" features = [ "bit-vec", "derive", "std", ] default-features = false [dev-dependencies.scale-type-resolver] version = "0.2.0" features = ["scale-info"] default-features = false [dev-dependencies.trybuild] version = "1.0.72" [features] bits = ["dep:scale-bits"] default = [ "derive", "primitive-types", "bits", ] derive = ["dep:scale-encode-derive"] primitive-types = ["dep:primitive-types"]