| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.83" |
| 15 |
name = "ravif" |
| 16 |
version = "0.12.0" |
| 17 |
authors = ["Kornel LesiĆski <[email protected]>"] |
| 18 |
build = false |
| 19 |
include = [ |
| 20 |
"README.md", |
| 21 |
"LICENSE", |
| 22 |
"Cargo.toml", |
| 23 |
"/src/*.rs", |
| 24 |
] |
| 25 |
autolib = false |
| 26 |
autobins = false |
| 27 |
autoexamples = false |
| 28 |
autotests = false |
| 29 |
autobenches = false |
| 30 |
description = "rav1e-based pure Rust library for encoding images in AVIF format (powers the `cavif` tool)" |
| 31 |
homepage = "https://lib.rs/crates/ravif" |
| 32 |
readme = "README.md" |
| 33 |
keywords = [ |
| 34 |
"avif", |
| 35 |
"convert", |
| 36 |
"av1", |
| 37 |
"rav1f", |
| 38 |
"cav1f", |
| 39 |
] |
| 40 |
categories = [ |
| 41 |
"multimedia::images", |
| 42 |
"multimedia::encoding", |
| 43 |
] |
| 44 |
license = "BSD-3-Clause" |
| 45 |
repository = "https://github.com/kornelski/cavif-rs" |
| 46 |
|
| 47 |
[package.metadata.release] |
| 48 |
tag = false |
| 49 |
|
| 50 |
[features] |
| 51 |
asm = ["rav1e/asm"] |
| 52 |
default = [ |
| 53 |
"asm", |
| 54 |
"threading", |
| 55 |
] |
| 56 |
threading = [ |
| 57 |
"dep:rayon", |
| 58 |
"rav1e/threading", |
| 59 |
] |
| 60 |
|
| 61 |
[lib] |
| 62 |
name = "ravif" |
| 63 |
path = "src/lib.rs" |
| 64 |
|
| 65 |
[dependencies.avif-serialize] |
| 66 |
version = "0.8.3" |
| 67 |
|
| 68 |
[dependencies.imgref] |
| 69 |
version = "1.11.0" |
| 70 |
|
| 71 |
[dependencies.loop9] |
| 72 |
version = "0.1.5" |
| 73 |
|
| 74 |
[dependencies.quick-error] |
| 75 |
version = "2.0.1" |
| 76 |
|
| 77 |
[dependencies.rav1e] |
| 78 |
version = "0.8.1" |
| 79 |
default-features = false |
| 80 |
|
| 81 |
[dependencies.rayon] |
| 82 |
version = "1.10.0" |
| 83 |
optional = true |
| 84 |
|
| 85 |
[dependencies.rgb] |
| 86 |
version = "0.8.50" |
| 87 |
default-features = false |
| 88 |
|
| 89 |
[dev-dependencies.avif-parse] |
| 90 |
version = "1.3.2" |
| 91 |
|
| 92 |
[target.'cfg(target = "wasm32-unknown-unknown")'.dependencies.rav1e] |
| 93 |
version = "0.8" |
| 94 |
features = ["wasm"] |
| 95 |
default-features = false |
| 96 |
|
| 97 |
[profile.dev.package."*"] |
| 98 |
opt-level = 2 |
| 99 |
debug = 0 |
| 100 |
|
| 101 |
[profile.release] |
| 102 |
lto = true |