-
Notifications
You must be signed in to change notification settings - Fork 15
/
Cargo.toml
68 lines (60 loc) · 2.38 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "rant"
version = "4.0.0-alpha.33"
edition = "2021"
description = "The Rant procedural templating language"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rant-lang/rant"
homepage = "https://rant-lang.org"
keywords = ["rant", "templating", "procedural", "generation", "procgen"]
categories = ["text-processing", "game-development", "template-engine"]
readme = "README.md"
rust-version = "1.61.0"
include = [
"**/*.rs",
"Cargo.toml",
"README.md",
"LICENSE*",
"THIRD_PARTY_LICENSES*",
"CHANGELOG.md",
"!tests/unincluded_*.rs",
"src/tools/cli/_*.txt"
]
default-run = "rant"
# publish = false
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
opt-level = 3
codegen-units = 1
[[bin]]
name = "rant"
path = "src/tools/cli/main.rs"
required-features = ["cli"]
[features]
cli = ["atty", "clap", "codemap", "codemap-diagnostic", "colored", "ctrlc", "embedded-triple", "exitcode"]
vm-trace = []
[dependencies]
# Library
cast = "0.3.0" # Automates a lot of native <-> Rant value conversions
cervine = "0.0.6" # Simplifies Rant's by-ref variable passing code.
fnv = "1.0.7" # Hashing algorithm used by Rant's map type and other internals.
line-col = "0.2.1" # Calculates locations for compiler messages.
logos = "0.12.0" # Powers the lexer.
once_cell = "1.5.2" # Lazy initialization for various internals.
quickscope = "0.2.0" # Powers the variable scoping system.
rand = "0.8.3" # RNG utilities used throughout Rant.
rand_xoshiro = "0.6.0" # RNG implementation used by the Rant runtime.
smallvec = "1.6.1" # List optimization used throughout Rant.
smartstring = "1.0.1" # String optimization used throughout Rant.
unicode-segmentation = "1.7.1" # Used by Rant to index strings by grapheme cluster.
# CLI
atty = { version = "0.2.14", optional = true }
clap = { version = "2.33.3", optional = true }
codemap = { version = "0.1.3", optional = true }
codemap-diagnostic = { version = "0.1.1", optional = true }
colored = { version = "2.0.0", optional = true }
ctrlc = { version = "3.1.9", optional = true }
embedded-triple = { version = "0.1.0", optional = true }
exitcode = { version = "1.1.2", optional = true }
[dev-dependencies]
assert_matches = "1.5.0"