[package]
edition = "2021"
name = "cooklang"
version = "0.18.0"
authors = ["Zheoni <zheoni@outlook.es>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cooklang parser with opt-in extensions"
readme = "README.md"
keywords = [
"cooklang",
"cooking",
"recipes",
]
categories = ["parser-implementations"]
license = "MIT"
repository = "https://github.com/cooklang/cooklang-rs"
[features]
aisle = []
bundled_units = [
"toml",
"prettyplease",
"quote",
"syn",
"proc-macro2",
]
default = [
"aisle",
"bundled_units",
"shopping_list",
]
pantry = ["toml"]
shopping_list = []
ts = [
"wasm-bindgen",
"tsify",
]
[lib]
name = "cooklang"
path = "src/lib.rs"
[[example]]
name = "cook"
path = "examples/cook.rs"
[[example]]
name = "time"
path = "examples/time.rs"
[[test]]
name = "canonical"
path = "tests/canonical.rs"
[[test]]
name = "fractions"
path = "tests/fractions.rs"
[[test]]
name = "frontmatter_tests"
path = "tests/frontmatter_tests.rs"
[[test]]
name = "general_tests"
path = "tests/general_tests.rs"
[[test]]
name = "pantry_test"
path = "tests/pantry_test.rs"
[[test]]
name = "scale"
path = "tests/scale.rs"
[[test]]
name = "serde"
path = "tests/serde.rs"
[[bench]]
name = "convert"
path = "benches/convert.rs"
harness = false
[[bench]]
name = "parse"
path = "benches/parse.rs"
harness = false
[dependencies.bitflags]
version = "2"
features = ["serde"]
[dependencies.codesnake]
version = "0.2.1"
[dependencies.enum-map]
version = "2"
features = ["serde"]
[dependencies.finl_unicode]
version = "1.2"
features = ["categories"]
default-features = false
[dependencies.indexmap]
version = "2"
features = ["serde"]
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_yaml]
version = "0.9.34"
[dependencies.smallvec]
version = "1"
[dependencies.strum]
version = "0.26.1"
features = ["derive"]
[dependencies.thiserror]
version = "2"
[dependencies.toml]
version = "0.8"
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.tsify]
version = "0.5"
optional = true
[dependencies.unicase]
version = "2.7.0"
[dependencies.unicode-width]
version = "0.2"
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dependencies.yansi]
version = "1.0.1"
[dev-dependencies.criterion]
version = "0.5"
[dev-dependencies.indoc]
version = "2.0.3"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.test-case]
version = "3.2.1"
[dev-dependencies.toml]
version = "0.8"
[build-dependencies.prettyplease]
version = "0.2"
optional = true
[build-dependencies.proc-macro2]
version = "1"
optional = true
[build-dependencies.quote]
version = "1"
optional = true
[build-dependencies.syn]
version = "2"
optional = true
[build-dependencies.toml]
version = "0.8"
optional = true
[profile.release]
codegen-units = 1
strip = true