| 1 |
[package] |
| 2 |
name = "ravif" |
| 3 |
description = "rav1e-based pure Rust library for encoding images in AVIF format (powers the `cavif` tool)" |
| 4 |
version = "0.12.0" |
| 5 |
authors = ["Kornel LesiĆski <[email protected]>"] |
| 6 |
edition = "2021" |
| 7 |
license = "BSD-3-Clause" |
| 8 |
readme = "README.md" |
| 9 |
keywords = ["avif", "convert", "av1", "rav1f", "cav1f"] |
| 10 |
categories = ["multimedia::images", "multimedia::encoding"] |
| 11 |
homepage = "https://lib.rs/crates/ravif" |
| 12 |
repository = "https://github.com/kornelski/cavif-rs" |
| 13 |
include = ["README.md", "LICENSE", "Cargo.toml", "/src/*.rs"] |
| 14 |
rust-version = "1.83" |
| 15 |
|
| 16 |
[dependencies] |
| 17 |
avif-serialize = "0.8.3" |
| 18 |
imgref = "1.11.0" |
| 19 |
rav1e = { version = "0.8.1", default-features = false } |
| 20 |
rayon = { version = "1.10.0", optional = true } |
| 21 |
rgb = { version = "0.8.50", default-features = false } |
| 22 |
loop9 = "0.1.5" |
| 23 |
quick-error = "2.0.1" |
| 24 |
|
| 25 |
[target.'cfg(target = "wasm32-unknown-unknown")'.dependencies] |
| 26 |
rav1e = { version = "0.8", default-features = false, features = ["wasm"] } |
| 27 |
|
| 28 |
[features] |
| 29 |
default = ["asm", "threading"] |
| 30 |
asm = ["rav1e/asm"] |
| 31 |
threading = ["dep:rayon", "rav1e/threading"] |
| 32 |
|
| 33 |
[profile.release] |
| 34 |
lto = true |
| 35 |
|
| 36 |
[profile.dev.package."*"] |
| 37 |
debug = false |
| 38 |
opt-level = 2 |
| 39 |
|
| 40 |
[dev-dependencies] |
| 41 |
avif-parse = "1.3.2" |
| 42 |
|
| 43 |
[package.metadata.release] |
| 44 |
tag = false |