[package]
edition = "2021"
rust-version = "1.65.0"
name = "ranty"
version = "1.0.0"
build = false
include = [
"**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE*",
"THIRD_PARTY_LICENSES*",
"CHANGELOG.md",
"!tests/unincluded_*.rs",
"src/tools/cli/_*.txt",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "ranty"
description = "The Ranty procedural templating language"
homepage = "https://github.com/insanityfarm/ranty"
readme = "README.md"
keywords = [
"ranty",
"templating",
"procedural",
"generation",
"procgen",
]
categories = [
"text-processing",
"game-development",
"template-engine",
]
license = "MIT"
repository = "https://github.com/insanityfarm/ranty"
[features]
cli = [
"atty",
"clap",
"codemap",
"codemap-diagnostic",
"colored",
"ctrlc",
"embedded-triple",
"exitcode",
]
vm-trace = []
[lib]
name = "ranty"
path = "src/lib.rs"
[[bin]]
name = "ranty"
path = "src/tools/cli/main.rs"
required-features = ["cli"]
[[example]]
name = "hello_ranty"
path = "examples/hello_ranty.rs"
[[test]]
name = "attribute_keyword_tests"
path = "tests/attribute_keyword_tests.rs"
[[test]]
name = "block_expansion_tests"
path = "tests/block_expansion_tests.rs"
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
[[test]]
name = "conditionals_tests"
path = "tests/conditionals_tests.rs"
[[test]]
name = "control_flow_tests"
path = "tests/control_flow_tests.rs"
[[test]]
name = "lazy_tests"
path = "tests/lazy_tests.rs"
[[test]]
name = "match_selector_tests"
path = "tests/match_selector_tests.rs"
[[test]]
name = "module_tests"
path = "tests/module_tests.rs"
[[test]]
name = "output_behavior_tests"
path = "tests/output_behavior_tests.rs"
[[test]]
name = "prototype_tests"
path = "tests/prototype_tests.rs"
[[test]]
name = "runtime_tests"
path = "tests/runtime_tests.rs"
[[test]]
name = "stdlib_surface_tests"
path = "tests/stdlib_surface_tests.rs"
[dependencies.atty]
version = "0.2.14"
optional = true
[dependencies.cast]
version = "0.3.0"
[dependencies.cervine]
version = "0.0.6"
[dependencies.clap]
version = "2.33.3"
optional = true
[dependencies.codemap]
version = "0.1.3"
optional = true
[dependencies.codemap-diagnostic]
version = "0.1.1"
optional = true
[dependencies.colored]
version = "2.0.0"
optional = true
[dependencies.ctrlc]
version = "3.1.9"
optional = true
[dependencies.embedded-triple]
version = "0.1.0"
optional = true
[dependencies.exitcode]
version = "1.1.2"
optional = true
[dependencies.fnv]
version = "1.0.7"
[dependencies.line-col]
version = "0.2.1"
[dependencies.logos]
version = "0.12.0"
[dependencies.once_cell]
version = "1.5.2"
[dependencies.quickscope]
version = "0.2.0"
[dependencies.rand]
version = "0.8.3"
[dependencies.rand_xoshiro]
version = "0.6.0"
[dependencies.rust-cc]
version = "0.6.2"
features = [
"derive",
"finalization",
"std",
"weak-ptrs",
]
default-features = false
[dependencies.smallvec]
version = "1.6.1"
[dependencies.smartstring]
version = "1.0.1"
[dependencies.unicode-segmentation]
version = "1.7.1"
[dev-dependencies.assert_matches]
version = "1.5.0"
[dev-dependencies.regex]
version = "1.11.1"
[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dev-dependencies.serde_json]
version = "1.0.145"
[profile.release]
opt-level = 3
codegen-units = 1