# 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.70.0" name = "slac" version = "0.14.0" authors = ["Dennis Prediger "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = 'The "Simple Logic & Arithmetic Compiler" transforms a single expression into an abstract syntax tree.' readme = "README.md" categories = [ "compilers", "parsing", ] license = "Apache-2.0" repository = "https://github.com/DennisPrediger/SLAC" [lib] name = "slac" path = "src/lib.rs" [[example]] name = "cli" path = "examples/cli.rs" [[example]] name = "list_functions" path = "examples/list_functions.rs" [[test]] name = "compiler_test" path = "tests/compiler_test.rs" [[test]] name = "interpreter_test" path = "tests/interpreter_test.rs" [[test]] name = "readme_test" path = "tests/readme_test.rs" [[test]] name = "serde_test" path = "tests/serde_test.rs" [dependencies.chrono] version = "0.4" features = ["std"] optional = true [dependencies.getrandom] version = "0.2" [dependencies.regex-lite] version = "0.1" optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.minify] version = "1.3" [dev-dependencies.serde_json] version = "1.0" [features] chrono = ["dep:chrono"] default = [ "serde", "chrono", "regex", ] regex = ["dep:regex-lite"] serde = ["dep:serde"] zero_based_strings = []