# 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.74" name = "rpsl-rs" version = "2.0.0" authors = ["Marvin Vogt "] build = false exclude = [ ".devcontainer", ".github", "doc/benchmark/**", "tests/**", ] autobins = false autoexamples = false autotests = false autobenches = false description = "A Routing Policy Specification Language (RPSL) parser with a focus on speed and correctness." homepage = "https://github.com/srv6d/rpsl-rs" readme = "README.md" keywords = [ "rpsl", "parser", "routing", "policy", "whois", ] categories = [ "parsing", "database", ] license = "MIT" repository = "https://github.com/srv6d/rpsl-rs" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [profile.release] lto = true [profile.test.package.proptest] opt-level = 3 [profile.test.package.rand_chacha] opt-level = 3 [lib] name = "rpsl" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[example]] name = "print_parsed_as3257" path = "examples/print_parsed_as3257.rs" [[example]] name = "print_parsed_as3257_whois_response" path = "examples/print_parsed_as3257_whois_response.rs" [[bench]] name = "equality" path = "benches/equality.rs" harness = false [[bench]] name = "get_values" path = "benches/get_values.rs" harness = false [[bench]] name = "parse_as3257" path = "benches/parse_as3257.rs" harness = false [[bench]] name = "parse_as3257_whois_response" path = "benches/parse_as3257_whois_response.rs" harness = false [dependencies.serde] version = "1.0.210" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.128" optional = true [dependencies.thiserror] version = "1.0.50" [dependencies.winnow] version = "0.6.14" [dev-dependencies.codspeed-criterion-compat] version = "=2.7.2" [dev-dependencies.criterion] version = "=0.5.1" [dev-dependencies.proptest] version = "=1.5.0" [dev-dependencies.rstest] version = "=0.23.0" [dev-dependencies.serde_json] version = "=1.0.132" [dev-dependencies.serde_test] version = "=1.0.177" [features] default = ["simd"] json = [ "serde", "dep:serde_json", ] serde = ["dep:serde"] simd = ["winnow/simd"]