summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 694bb917ba392e494cbf9ad44dd8d0f1cbb379d6 (plain)
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
[workspace]
resolver = "2"
members = ["crates/*"]

[workspace.package]
version = "0.1.0"
edition = "2024"
authors = ["LLLL Colonq <llll@colonq.computer>"]

[workspace.metadata.crane]
name = "elfland"

[workspace.lints.clippy]
all = "deny"
pedantic = "deny"
nursery = "deny"

[profile.release]
# strip = true
# opt-level = 3
# lto = true
# codegen-units = 1
panic = "abort"

[profile.dev]
debug = false

[profile.dev.package."*"]
opt-level = 2

[workspace.dependencies]
teleia = { path = "../teleia/crates/teleia" } # engine
teleia_macros = { path = "../teleia/crates/teleia_macros" } # engine
bitflags = { version = "2.6.0", features = ["serde"] } # bitwise flags
rand = { version = "=0.8.5", features = ["small_rng"] } # rng
log = "0.4.21" # logging
lazy_static = "1.5.0" # global constants
bimap = {version = "0.6.3", features = ["serde"]} # bijective maps
strum = {version = "0.27.1", features = ["derive"]} # utility macros for enums
enum-map = {version = "2.7.3", features = ["serde"]} # enum map
serde = { version = "1.0.228", features = ["derive"] } # serialization
bincode = {version = "2.0.1", features = ["serde"]} # binary serialization
itertools = "0.15.0" # iterator tools
syn = "3.0.5" # parser for proc macros
quote = "1.0.47" # quasiquotation for proc macros

# cfg(target_arch = "wasm32")
wasm-bindgen = "=0.2.100" # wasm bindings
wasm-bindgen-futures = "*" # interface with async javascript

# cfg(not(target_arch = "wasm32"))
clap = { version = "*", features = ["cargo"] } # cli arg parsing