-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
35 lines (28 loc) · 913 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
32
33
34
35
[package]
authors = ["poly000 <[email protected]>"]
license = "MIT"
description = "Pet-pet generator in Rust. Translated from https://github.com/camprevail/pet-pet-gif."
name = "petpet"
version = "2.4.3"
rust-version = "1.70"
edition = "2021"
repository = "https://github.com/poly000/petpet-rs"
default-run = "petpet"
exclude = ["**/*.raw"]
[dependencies]
image = { version = "0.24.0", default-features = false }
apng = { version = "0.3.4", optional = true, features = ["png"] }
[build-dependencies]
image = { version = "0.24.0", optional = true, default-features = false }
[profile.release]
codegen-units = 1
lto = "thin"
panic = "abort"
strip = true
[features]
default = ["encode_to_gif", "bundle_raw_hands", "encode_to_apng"]
bundle_raw_hands = ["dep:image", "image/webp"]
encode_to_gif = ["image/gif"]
encode_to_apng = ["dep:apng"]
more_format = ["image/png", "image/jpeg", "image/webp"]
image = []