-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
25 lines (22 loc) · 853 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
[package]
name = "grayness"
version = "0.2.0"
edition = "2021"
authors = ["Nikolai Neff-Sarnow"]
description = "This is a proof of concept typst wasm-plugin to allow simple image editing functions from within typst, written in Rust."
readme = "README.md"
repository = "https://github.com/nineff/grayness"
license = "Apache-2.0"
categories = ["typst", "plugin", "image", "grayscale", "wasm"]
[lib]
crate-type = ["cdylib"]
[dependencies]
image = "0.24.0"
wasm-minimal-protocol = { git = "https://github.com/astrale-sharp/wasm-minimal-protocol.git", rev = "637508c" }
xmltree = "0.11.0"
[profile.release]
lto = true # Enable link-time optimization
strip = true # Strip symbols from binary*
opt-level = 3 # Optimize for speed
codegen-units = 1 # Reduce number of codegen units to increase optimizations
panic = 'abort' # Abort on panic