libcorn 0.10.1

Parsing engine for Corn, a simple and pain-free configuration language.
Documentation
# 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.1"
authors = ["Jake Stanger <mail@jakestanger.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Parsing engine for Corn, a simple and pain-free configuration language."
homepage = "https://cornlang.dev/"
documentation = "https://docs.rs/libcorn"
readme = "README.md"
keywords = [
    "configuration",
    "language",
    "wasm",
    "pest",
    "peg",
]
categories = [
    "config",
    "parsing",
]
license = "MIT"
repository = "https://github.com/JakeStanger/corn"

[features]
bench = ["dep:criterion"]
lua51 = [
    "dep:mlua",
    "mlua/lua51",
]
lua52 = [
    "dep:mlua",
    "mlua/lua52",
]
lua53 = [
    "dep:mlua",
    "mlua/lua53",
]
lua54 = [
    "dep:mlua",
    "mlua/lua54",
]
luajit = [
    "dep:mlua",
    "mlua/luajit",
]
luajit52 = [
    "dep:mlua",
    "mlua/luajit52",
]
wasm = [
    "dep:wasm-bindgen",
    "dep:serde-wasm-bindgen",
    "dep:console_error_panic_hook",
    "dep:wee_alloc",
]

[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
required-features = ["bench"]

[dependencies.console_error_panic_hook]
version = "0.1.7"
optional = true

[dependencies.criterion]
version = "0.8.1"
features = ["html_reports"]
optional = true

[dependencies.indexmap]
version = "2.7.1"
features = ["serde"]

[dependencies.mlua]
version = "0.11.5"
features = [
    "module",
    "macros",
    "serialize",
]
optional = true

[dependencies.pest]
version = "2.7.15"

[dependencies.pest_derive]
version = "2.7.15"

[dependencies.serde]
version = "1.0.218"
features = ["derive"]

[dependencies.serde-wasm-bindgen]
version = "0.6.5"
optional = true

[dependencies.thiserror]
version = "2.0.12"

[dependencies.wasm-bindgen]
version = "0.2.100"
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.16"

[dev-dependencies.serde_json]
version = "1.0.140"

[dev-dependencies.serde_norway]
version = "0.9.42"

[dev-dependencies.toml_edit]
version = "0.24.0"
features = ["serde"]

[dev-dependencies.wasm-bindgen-test]
version = "0.3.50"

[profile.release]
lto = true
codegen-units = 1
strip = true