# 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.71" name = "cstree" version = "0.12.2" authors = [ "Domenic Quirl ", "Aleksey Kladov ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Library for generic lossless syntax trees" readme = "README.md" keywords = [ "cstree", "parser", "parsing", "cst", ] categories = [ "parsing", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/domenicquirl/cstree" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "doc_cfg", ] [lib] name = "cstree" path = "src/lib.rs" [[example]] name = "math" path = "examples/math.rs" required-features = ["derive"] [[example]] name = "readme" path = "examples/readme.rs" [[example]] name = "s_expressions" path = "examples/s_expressions.rs" required-features = ["derive"] [[example]] name = "salsa" path = "examples/salsa.rs" required-features = ["salsa_2022_compat"] [[test]] name = "it" path = "tests/it/main.rs" [[bench]] name = "main" path = "benches/main.rs" harness = false [dependencies.cstree_derive] version = "0.12.2" optional = true [dependencies.fxhash] version = "0.2.1" [dependencies.indexmap] version = "2.4.0" [dependencies.lasso] version = "0.7" features = ["inline-more"] optional = true [dependencies.parking_lot] version = "0.12.1" [dependencies.serde] version = "1.0" features = [ "derive", "std", ] optional = true default-features = false [dependencies.sptr] version = "0.3.2" [dependencies.text-size] version = "1.1.0" [dependencies.triomphe] version = "0.1.8" features = [ "stable_deref_trait", "std", ] default-features = false [dev-dependencies.criterion] version = "0.5.1" features = ["html_reports"] [dev-dependencies.crossbeam-utils] version = "0.8" [dev-dependencies.m_lexer] version = "0.0.4" [dev-dependencies.serde_json] version = "1.0" [dev-dependencies.serde_test] version = "1.0" [features] default = [] derive = ["dep:cstree_derive"] lasso_compat = ["lasso"] multi_threaded_interning = [ "lasso_compat", "lasso/multi-threaded", ] serialize = [ "serde", "lasso?/serialize", "triomphe/serde", ]