# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "dangerous" version = "0.10.0" authors = ["avitex "] include = ["src/**/*", "tests/**/*", "examples/**/*", "README.md", "LICENSE", "Cargo.toml"] description = "Safely and explicitly parse untrusted / dangerous data" homepage = "https://github.com/avitex/rust-dangerous" documentation = "https://docs.rs/dangerous" readme = "README.md" keywords = ["parsing", "simd", "untrusted"] categories = ["no-std", "parsing"] license = "MIT" repository = "https://github.com/avitex/rust-dangerous" [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"] [[example]] name = "json" required-features = ["std"] [[example]] name = "streaming" required-features = ["std"] [[example]] name = "zerocopy" required-features = ["zc"] [[example]] name = "nom" required-features = ["nom"] [[test]] name = "test_nom" required-features = ["nom", "full-backtrace"] [dependencies.bytecount] version = "0.6" optional = true [dependencies.memchr] version = "2.4" optional = true default-features = false [dependencies.nom] version = "6" features = ["alloc"] optional = true default-features = false [dependencies.regex] version = "1.4" optional = true [dependencies.unicode-width] version = "0.1" optional = true [dependencies.zc] version = "0.4" optional = true default-features = false [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.colored-diff] version = "0.2.2" [dev-dependencies.imap-proto] version = "0.14" [dev-dependencies.indoc] version = "1.0" [dev-dependencies.paste] version = "1.0" [dev-dependencies.zc] version = "0.4" [features] alloc = [] default = ["std", "full-backtrace", "simd", "unicode"] full-backtrace = ["alloc"] simd = ["std", "memchr/std", "bytecount/runtime-dispatch-simd"] std = ["alloc"] unicode = ["unicode-width"]