
[package]
name = "calcit"
version = "0.12.36"
authors = ["jiyinyiyong <jiyinyiyong@gmail.com>"]
edition = "2024"
license = "MIT"
description = "Interpreter and js codegen for Calcit"
homepage = "http://calcit-lang.org"
documentation = "https://docs.rs/crate/calcit/"
repository = "https://github.com/calcit-lang/calcit.rs"
readme = "README.md"
exclude = ["lib/*", "calcit/*", "ts-src/*", "js-out/*", "scripts/*", "docs/*", "editing-history/*", "rfc/*"]


# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
# cirru_edn = { path = "/Users/chenyong/repo/cirru/edn.rs" }
# cirru_parser = { path = "/Users/chenyong/repo/cirru/parser.rs" }
argh = "0.1.13"
dirs = "6.0.0"
notify = "8.0.0"
notify-debouncer-mini = "0.7.0"
walkdir = "2.5.0"
hex = "0.4.3"
rpds = "1.1.0"
im_ternary_tree = "0.0.20"
# im_ternary_tree = { path = "/Users/chenyong/repo/calcit-lang/ternary-tree.rs" }
colored = "3.0.0"
strum = "0.25"
strum_macros = "0.25"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
cirru_edn = "0.7.7"
cirru_parser = "0.2.8"
bisection_key = "0.0.1"
ureq = "3.2.0"
rmp-serde = "1.3.0"
semver = "1.0"
wasm-encoder = { version = "0.246.2", default-features = false }

[build-dependencies]
cirru_edn = "0.7.7"
rmp-serde = "1.3.0"
serde = { version = "1.0", features = ["derive"] }
cirru_parser = "0.2.8"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
libloading = "0.9.0"
ctrlc = "3.4.5"

[lib]
name = "calcit"
path = "src/lib.rs"

[[bin]]
name = "cr"
path = "src/bin/cr.rs"

[[bin]]
name = "bundle_calcit"
path = "src/bin/bundle_calcit.rs"

[[bin]]
name = "caps"
path = "src/bin/calcit_deps.rs"

[[bin]]
name = "cr-sync"
path = "src/bin/cr_sync.rs"

[[bin]]
name = "cr-wasm"
path = "src/bin/cr_wasm.rs"

[profile.release]
lto = true
opt-level = "s"
codegen-units = 1
panic = "unwind"
strip = "debuginfo"
