[package]
edition = "2024"
name = "symbios-shape"
version = "0.3.1"
authors = ["Janus"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A derivation engine for CGA Shape Grammars."
readme = "README.md"
keywords = [
"grammar",
"procedural",
"generative",
"simulation",
]
categories = [
"simulation",
"game-development",
"mathematics",
]
license = "MIT"
repository = "https://github.com/TheJanusStream/symbios-shape"
[lib]
name = "symbios_shape"
path = "src/lib.rs"
[[example]]
name = "simple_building"
path = "examples/simple_building.rs"
[[test]]
name = "align_tests"
path = "tests/align_tests.rs"
[[test]]
name = "attach_tests"
path = "tests/attach_tests.rs"
[[test]]
name = "expr_grammar_tests"
path = "tests/expr_grammar_tests.rs"
[[test]]
name = "grammar_tests"
path = "tests/grammar_tests.rs"
[[test]]
name = "interpreter_tests"
path = "tests/interpreter_tests.rs"
[[test]]
name = "mass_tests"
path = "tests/mass_tests.rs"
[[test]]
name = "occlusion_tests"
path = "tests/occlusion_tests.rs"
[[test]]
name = "offset_tests"
path = "tests/offset_tests.rs"
[[test]]
name = "polygon_tests"
path = "tests/polygon_tests.rs"
[[test]]
name = "rng_stream_tests"
path = "tests/rng_stream_tests.rs"
[[test]]
name = "roof_tests"
path = "tests/roof_tests.rs"
[[test]]
name = "snap_tests"
path = "tests/snap_tests.rs"
[[bench]]
name = "bench_main"
path = "benches/bench_main.rs"
harness = false
[dependencies.glam]
version = "0.30.10"
features = ["serde"]
[dependencies.nom]
version = "8.0.0"
[dependencies.rand]
version = "0.9.2"
[dependencies.rand_pcg]
version = "0.9.0"
[dependencies.serde]
version = "1.0"
features = [
"derive",
"rc",
]
[dependencies.symbios-genetics]
version = "0.2"
[dependencies.thiserror]
version = "2.0.17"
[dev-dependencies.criterion]
version = "0.8"
[dev-dependencies.serde_json]
version = "1.0"
[profile.bench]
debug = 2