# 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 = "bnf" version = "0.5.0" authors = [ "@shnewto", "@CrockAgile", ] exclude = [ ".github", "tests", "*.snap", "*.bnf", ] description = "A library for parsing Backus–Naur form context-free grammars" homepage = "https://github.com/shnewto/bnf" readme = "README.md" keywords = [ "bnf", "earley", "parser", ] license = "MIT" repository = "https://github.com/shnewto/bnf" [[bench]] name = "bnf" harness = false [dependencies.nom] version = "^7.0.0" [dependencies.rand] version = "0.8.0" [dependencies.serde] version = "1.0.118" features = ["derive"] [dependencies.serde_json] version = "1.0.61" [dependencies.tracing] version = "0.1.37" optional = true [dependencies.tracing-flame] version = "0.2.0" optional = true [dependencies.tracing-subscriber] version = "0.3.16" features = ["env-filter"] optional = true [dev-dependencies.criterion] version = "0.4.0" default-features = false [dev-dependencies.insta] version = "1.26.0" default-features = false [dev-dependencies.quickcheck] version = "1.0.2" [features] default = [] tracing = [ "dep:tracing", "dep:tracing-subscriber", "dep:tracing-flame", ] unstable = [] [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "0.2.5" features = ["js"]