43 lines
1.2 KiB
TOML
43 lines
1.2 KiB
TOML
[package]
|
|
name = "integral_site"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
license = "AGPL-3.0"
|
|
repository = "https://github.com/Titaniumtown/integral_site"
|
|
|
|
[lib]
|
|
crate-type=["cdylib"]
|
|
|
|
[profile.release]
|
|
debug = false
|
|
codegen-units = 1
|
|
opt-level = "s" #optimize for size
|
|
lto = true
|
|
strip = true
|
|
|
|
[profile.dev]
|
|
debug = true
|
|
opt-level = 2
|
|
lto = false
|
|
|
|
[dependencies]
|
|
meval = { git = "https://github.com/Titaniumtown/meval-rs.git" }
|
|
eframe = { git = "https://github.com/Titaniumtown/egui", default-features = false, features = ["egui_glow"] }
|
|
include-flate = { git = "https://github.com/Titaniumtown/include-flate.git" }
|
|
shadow-rs = { version = "0.9", default-features = false }
|
|
const_format = { version = "0.2.22", default-features = false, features = ["fmt"] }
|
|
|
|
[build-dependencies]
|
|
shadow-rs = "0.9"
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
instant = { version = "0.1.12" }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
instant = { version = "0.1.12", features = ["wasm-bindgen"] }
|
|
console_error_panic_hook = "0.1.7"
|
|
wee_alloc = "0.4.5"
|
|
wasm-bindgen = { version = "0.2.79", default-features = false, features = ["std"] }
|
|
tracing-wasm = "0.2.1"
|