# 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 = "atc-router" version = "1.7.0" authors = [ "Datong Sun ", "Kong Contributors", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ Versatile DSL based rule matching engine used by the Kong API Gateway """ readme = "README.md" keywords = [ "dsl", "atc", "router", "rule", "engine", ] categories = ["compilers"] license = "Apache-2.0" repository = "https://github.com/Kong/atc-router" [lib] name = "atc_router" crate-type = [ "lib", "cdylib", "staticlib", ] path = "src/lib.rs" [[bench]] name = "build" path = "benches/build.rs" harness = false [[bench]] name = "match_mix" path = "benches/match_mix.rs" harness = false [[bench]] name = "not_match_mix" path = "benches/not_match_mix.rs" harness = false [[bench]] name = "string" path = "benches/string.rs" harness = false [[bench]] name = "test" path = "benches/test.rs" harness = false [dependencies.bitflags] version = "2.6" optional = true [dependencies.cidr] version = "0.3" [dependencies.fnv] version = "1" [dependencies.lazy_static] version = "1.5" [dependencies.pest] version = "2.7" [dependencies.pest_derive] version = "2.7" [dependencies.regex] version = "1" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde_regex] version = "1.1" optional = true [dependencies.uuid] version = "1.8" [dev-dependencies.criterion] version = "0" [features] default = ["ffi"] ffi = ["dep:bitflags"] serde = [ "cidr/serde", "dep:serde", "dep:serde_regex", ]