From e695013362be16e42dca3713a4ae604b2875cc0b Mon Sep 17 00:00:00 2001 From: Kornel Date: Fri, 30 Jul 2021 21:44:35 +0100 Subject: [PATCH] Use git version of rav1e --- Cargo.toml | 2 +- ravif/Cargo.toml | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a82a285..b3a9814 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "cavif" description = "Encodes images in AVIF format (image2avif converter). Pure Rust." -version = "1.3.0" +version = "1.3.1" authors = ["Kornel Lesiński "] edition = "2018" license = "BSD-3-Clause" diff --git a/ravif/Cargo.toml b/ravif/Cargo.toml index 24e657d..1edc67e 100644 --- a/ravif/Cargo.toml +++ b/ravif/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "ravif" description = "rav1e-based pure Rust library for encoding images in AVIF format (powers the `cavif` tool)" -version = "0.8.4" +version = "0.8.5" authors = ["Kornel Lesiński "] edition = "2018" license = "BSD-3-Clause" @@ -11,16 +11,20 @@ categories = ["multimedia::images", "multimedia::encoding"] homepage = "https://lib.rs/ravif" repository = "https://github.com/kornelski/cavif-rs" include = ["README.md", "LICENSE", "Cargo.toml", "/src/*.rs"] +resolver = "2" [dependencies] avif-serialize = "0.7.2" num_cpus = "1.13.0" -rav1e = { version = "0.5.0-alpha", default-features = false } +rav1e = { git = "https://github.com/xiph/rav1e", rev="f6c841fe9234e9e08a801e884bec1d91a3c6f9f4", default-features = false } rayon = "1.5.1" rgb = "0.8.27" imgref = "1.9.0" loop9 = "0.1.3" +[target.'cfg(target_arch = "wasm32")'.dependencies] +rav1e = { git = "https://github.com/xiph/rav1e", rev="f6c841fe9234e9e08a801e884bec1d91a3c6f9f4", features = ["wasm"] } + [features] default = ["asm"] asm = ["rav1e/asm"]