# 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 = "libcorn" version = "0.10.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Parsing engine for Corn, a simple and pain-free configuration language." readme = "README.md" keywords = [ "configuration", "language", "wasm", "pest", "peg", ] categories = ["config"] license = "MIT" repository = "https://github.com/JakeStanger/corn" [lib] name = "corn" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[test]] name = "de_tests" path = "tests/de_tests.rs" [[test]] name = "parser_tests" path = "tests/parser_tests.rs" [[bench]] name = "serde" path = "benches/serde.rs" harness = false [dependencies.cfg-if] version = "1.0.0" [dependencies.console_error_panic_hook] version = "0.1.7" optional = true [dependencies.criterion] version = "0.5.1" features = ["html_reports"] optional = true [dependencies.indexmap] version = "2.4.0" features = ["serde"] [dependencies.mlua] version = "0.9.8" features = [ "module", "macros", "serialize", ] optional = true [dependencies.pest] version = "2.7.11" [dependencies.pest_derive] version = "2.7.11" [dependencies.serde] version = "1.0.208" features = ["derive"] [dependencies.serde-wasm-bindgen] version = "0.6.5" optional = true [dependencies.thiserror] version = "1.0.63" [dependencies.wasm-bindgen] version = "0.2.93" optional = true [dependencies.wee_alloc] version = "0.4.5" optional = true [dev-dependencies.paste] version = "1.0.15" [dev-dependencies.serde_bytes] version = "0.11.15" [dev-dependencies.serde_json] version = "1.0.125" [dev-dependencies.serde_yaml] version = "0.9.34" [dev-dependencies.toml_edit] version = "0.22.20" features = ["serde"] [dev-dependencies.wasm-bindgen-test] version = "0.3.43" [features] bench = ["criterion"] lua51 = ["mlua/lua51"] lua52 = ["mlua/lua52"] lua53 = ["mlua/lua53"] lua54 = ["mlua/lua54"] luajit = ["mlua/luajit"] luajit52 = ["mlua/luajit52"] wasm = [ "wasm-bindgen", "serde-wasm-bindgen", "console_error_panic_hook", "wee_alloc", ]