# 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.60" name = "path2regex" version = "0.0.4" authors = ["Binbiubiubiu <2632003786@qq.com>"] publish = true description = "Express style path to RegExp utility" documentation = "https://docs.rs/path2regex" readme = "README.md" keywords = [ "express", "regexp", "route", "routing", ] categories = ["text-processing"] license = "MIT OR Apache-2.0" repository = "https://github.com/Binbiubiubiu/path2regex" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [dependencies.anyhow] version = "1.0.66" [dependencies.regex] version = "1.7.0" [dependencies.serde_json] version = "1.0.87" optional = true [dev-dependencies.lazy_static] version = "1.4.0" [dev-dependencies.urlencoding] version = "2.1.2" [features] compile = ["dep:serde_json"] default = [ "compile", "match", ] match = ["dep:serde_json"]