[package] name = "cel-rust-wasm" version = "0.1.0" edition = "2024" [lib] crate-type = ["cdylib"] [dependencies] wasm-bindgen = "0.2" js-sys = "0.3" cel = { version = "0.11", default-features = false, features = ["chrono"] } chrono = { version = "0.4", default-features = false } # `wee_alloc` is a tiny allocator for wasm that is only ~1K in code size # compared to the default allocator's ~10K. It is slower than the default # allocator, however. wee_alloc = { version = "0.4.5", optional = true } [profile.release] # Tell `rustc` to optimize for small code size. opt-level = "s" lto = true