-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
31 lines (28 loc) · 867 Bytes
/
Cargo.toml
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
[package]
name = "rhai-loco"
version = "0.8.0"
rust-version = "1.66.0"
edition = "2021"
authors = ["Stephen Chung"]
description = "Rhai scripting engine integration for Loco."
homepage = "https://rhai.rs"
repository = "https://github.com/rhaiscript/rhai-loco"
readme = "README.md"
license = "MIT OR Apache-2.0"
[dependencies]
rhai = { path = "../rhai", version = "1.19", features = ["only_i64", "decimal", "sync", "serde"] }
loco-rs = { version = "0.8.0" }
axum = { version = "0.7.1" }
tera = { version = "1" }
tracing = { version = "0.1.40" }
async-trait = { version = "0.1.74" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
[features]
metadata = ["rhai/metadata"]
internals = ["rhai/internals"]
[profile.release]
lto = "fat"
codegen-units = 1
#opt-level = "z" # optimize for size
#panic = 'abort' # remove stack backtrace for no-std