# 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 = "enrede" version = "0.1.3" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An easy-to-use string encoding library, providing an interface similar to str/String." readme = "README.md" keywords = [ "encoding", "string", "algorithm", "utf8", ] categories = [ "encoding", "algorithms", ] license = "MIT OR Apache-2.0" repository = "https://github.com/CraftSpider/enrede" [package.metadata.docs.rs] all-features = true [profile.bench] debug = 2 [lib] name = "enrede" path = "src/lib.rs" [[bench]] name = "encoding" path = "benches/encoding.rs" harness = false required-features = [ "alloc", "rand", ] [[bench]] name = "utils" path = "benches/utils.rs" [dependencies.arrayvec] version = "0.7" [dependencies.bytemuck] version = "1.16" features = [ "derive", "must_cast", ] [dependencies.rand] version = "0.8" optional = true default-features = false [dependencies.serde] version = "1.0" optional = true default-features = false [dev-dependencies.byte-unit] version = "5.1" [dev-dependencies.criterion] version = "0.5" [dev-dependencies.rand] version = "0.8" [features] alloc = ["serde?/alloc"] defaults = ["std"] rand = ["dep:rand"] serde = ["dep:serde"] std = ["alloc"] [target."cfg(unix)".dev-dependencies.pprof] version = "0.13" features = [ "criterion", "flamegraph", ]