-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
26 lines (21 loc) · 894 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
[package]
name = "typst-pyrunner"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
crate-type = ["cdylib"]
[dependencies]
ciborium = "0.2.1"
rustpython = { version = "0.3.0", git = "https://github.com/peng1999/RustPython.git", features = ["freeze-stdlib", "stdlib"] }
wasm-minimal-protocol = { git = "https://github.com/astrale-sharp/wasm-minimal-protocol.git", version = "0.1.0" }
[profile.dev]
lto = 'thin' # Enable link-time optimization
opt-level = 'z' # Optimize for size
panic = 'abort' # Abort on panic
[profile.release]
lto = true # Enable link-time optimization
strip = true # Strip symbols from binary*
opt-level = 'z' # Optimize for size
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic