# 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 = "sas-lexer" version = "1.0.0-beta.3" authors = ["Mike Perlov "] build = "build.rs" exclude = [ "benches/*", "src/**/tests/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = 'Ultra fast "correct" static context-aware parsing SAS code lexer.' readme = "README.md" keywords = [ "sas", "lexer", "parser", ] categories = [ "development-tools", "parsing", ] license = "AGPL-3.0-or-later" repository = "https://github.com/mishamsk/sas-lexer" [package.metadata.release] tag-prefix = "rust-" [[package.metadata.release.pre-release-replacements]] file = "../../CHANGELOG-RUST.md" max = 1 min = 0 prerelease = true replace = "" search = ''' ### Added -\s* ''' [[package.metadata.release.pre-release-replacements]] file = "../../CHANGELOG-RUST.md" max = 1 min = 0 prerelease = true replace = "" search = ''' ### Changed -\s* ''' [[package.metadata.release.pre-release-replacements]] file = "../../CHANGELOG-RUST.md" max = 1 min = 0 prerelease = true replace = "" search = ''' ### Deprecated -\s* ''' [[package.metadata.release.pre-release-replacements]] file = "../../CHANGELOG-RUST.md" max = 1 min = 0 prerelease = true replace = "" search = ''' ### Removed -\s* ''' [[package.metadata.release.pre-release-replacements]] file = "../../CHANGELOG-RUST.md" max = 1 min = 0 prerelease = true replace = "" search = ''' ### Fixed -\s* ''' [[package.metadata.release.pre-release-replacements]] file = "../../CHANGELOG-RUST.md" max = 1 min = 0 prerelease = true replace = "" search = ''' ### Security -\s* ''' [[package.metadata.release.pre-release-replacements]] exactly = 2 file = "../../CHANGELOG-RUST.md" prerelease = true replace = "{{version}}" search = "Unreleased" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "../../CHANGELOG-RUST.md" prerelease = true replace = "...{{tag_name}}" search = '\.\.\.HEAD' [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "../../CHANGELOG-RUST.md" prerelease = true replace = "{{date}}" search = "ReleaseDate" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "../../CHANGELOG-RUST.md" prerelease = true replace = """ [Unreleased]: https://github.com/mishamsk/sas-lexer/compare/{{tag_name}}...HEAD""" search = "" [[package.metadata.release.pre-release-replacements]] exactly = 1 file = "../../CHANGELOG-RUST.md" prerelease = true replace = """ ## [Unreleased] - ReleaseDate ### Added - ### Changed - ### Deprecated - ### Removed - ### Fixed - ### Security -""" search = "" [lib] name = "sas_lexer" path = "src/lib.rs" [dependencies.bit-vec] version = "0.8.0" [dependencies.encoding] version = "0.2.33" [dependencies.lexical] version = "7.0.2" features = [ "std", "power-of-two", "parse-floats", "parse-integers", "format", ] default-features = false [dependencies.phf] version = "0.11.2" features = ["macros"] [dependencies.sas-lexer-macro] version = "0.1.1" [dependencies.serde] version = "1.0.204" features = [ "derive", "derive", ] optional = true [dependencies.serde_repr] version = "0.1.19" optional = true [dependencies.strum] version = "0.26.3" features = [ "derive", "strum_macros", ] [dependencies.unicode-ident] version = "1.0.12" [dev-dependencies.criterion] version = "0.5.1" features = [ "html_reports", "html_reports", ] [dev-dependencies.insta] version = "1.39.0" features = ["yaml"] [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.walkdir] version = "2.5.0" [dev-dependencies.zip] version = "2.2.0" [build-dependencies.rustc_version] version = "0.4" [features] macro_sep = [] opti_stats = [] serde = [ "dep:serde", "dep:serde_repr", ] [target.'cfg(not(target_os = "windows"))'.dev-dependencies.pprof] version = "0.13.0" features = [ "protobuf-codec", "flamegraph", "criterion", "flamegraph", "criterion", ] [lints.clippy] comparison_chain = "allow" dbg_macro = "warn" empty_structs_with_brackets = "warn" exit = "warn" get_unwrap = "warn" indexing_slicing = "deny" module_name_repetitions = "allow" print_stderr = "warn" print_stdout = "warn" single_match_else = "allow" unwrap_used = "warn" [lints.clippy.pedantic] level = "warn" priority = -2 [lints.rust] unreachable_pub = "warn" unsafe_code = "warn"