[package]
name = "hecatomb"
version = "0.1.0"
edition = "2024"
# Define both library and binary
[lib]
name = "hecatomb"
crate-type = ["cdylib", "rlib"] # cdylib for Wasm, rlib for CLI to use internally
[[bin]]
name = "heca"
path = "src/main.rs"
[dependencies]
base64 = "0.22.1"
horrorshow = "0.8"
[profile.release]
opt-level = "z" # optimize for size
lto = true # link-time optimization
codegen-units = 1 # better optimization at the cost of compile time
panic = "abort" # no unwinding machinery
strip = true # strip symbols from the binary