# 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 = "codex-percent" version = "0.1.1" build = false exclude = ["assets/"] autobins = false autoexamples = false autotests = false autobenches = false description = "Percent Encoding for the 1%" homepage = "https://github.com/yaws-rs/codex" readme = "README.md" keywords = [ "http", "uri", "encoder", "decoder", ] categories = [ "no-std", "science", ] license = "Apache-2.0/MIT" repository = "https://github.com/yaws-rs/codex" [package.metadata.docs.rs] features = [ "fixed", "vec", "decode", "encode", ] [lib] name = "codex_percent" path = "src/lib.rs" [[example]] name = "decode_fixed" path = "examples/decode_fixed.rs" doc-scrape-examples = true harness = false required-features = [ "decode", "fixed", ] [[example]] name = "decode_vec" path = "examples/decode_vec.rs" doc-scrape-examples = true harness = false required-features = [ "decode", "vec", ] [[example]] name = "encode_fixed" path = "examples/encode_fixed.rs" doc-scrape-examples = true harness = false required-features = [ "encode", "fixed", ] [[example]] name = "encode_vec" path = "examples/encode_vec.rs" doc-scrape-examples = true harness = false required-features = [ "encode", "vec", ] [[bench]] name = "bencher" path = "benches/bencher.rs" harness = false [dependencies.logos] version = "0.14" features = ["export_derive"] optional = true default-features = false [dev-dependencies.criterion] version = "0.5" [dev-dependencies.insta] version = "1.38" [dev-dependencies.rstest] version = "0.19" [features] alloc = [] decode = ["dep:logos"] default = [ "fixed", "decode", "encode", ] encode = ["dep:logos"] fixed = [] std = [] vec = ["alloc"]