From 7d482eba16c11c02c4bb3042beb7ea845def1a36 Mon Sep 17 00:00:00 2001 From: Dominic Date: Sun, 3 Apr 2022 16:43:36 +0200 Subject: [PATCH] Release rlottie-sys 0.2.0, rlottie 0.4.0, lottie2gif 0.4.0, lottie2webp 0.2.0 --- lottie2gif/Cargo.toml | 4 ++-- lottie2webp/Cargo.toml | 6 +++--- lottie2webp/src/lib.rs | 8 ++++---- rlottie-sys/Cargo.toml | 2 +- rlottie/Cargo.toml | 4 ++-- 5 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lottie2gif/Cargo.toml b/lottie2gif/Cargo.toml index 00aff8ba..f68f9400 100644 --- a/lottie2gif/Cargo.toml +++ b/lottie2gif/Cargo.toml @@ -3,7 +3,7 @@ [package] workspace = ".." name = "lottie2gif" -version = "0.3.1" +version = "0.4.0" license = "MIT" include = ["src/**/*.rs", "/LICENSE"] @@ -22,4 +22,4 @@ required-features = ["clap"] clap = { version = "3.0", features = ["derive"], optional = true } gif = "0.11.3" rgb = { version = "0.8.32", default-features = false } -rlottie = { path = "../rlottie", version = "0.3.0" } +rlottie = { path = "../rlottie", version = "0.4" } diff --git a/lottie2webp/Cargo.toml b/lottie2webp/Cargo.toml index 2e8c6366..ecdb0f6f 100644 --- a/lottie2webp/Cargo.toml +++ b/lottie2webp/Cargo.toml @@ -3,7 +3,7 @@ [package] workspace = ".." name = "lottie2webp" -version = "0.1.0" +version = "0.2.0" license = "MIT" include = ["src/**/*.rs", "/LICENSE"] @@ -21,5 +21,5 @@ required-features = ["clap"] [dependencies] clap = { version = "3.0", features = ["derive"], optional = true } rgb = { version = "0.8.32", default-features = false } -rlottie = { path = "../rlottie", version = "0.3.0" } -webp-animation = "0.5.0" +rlottie = { path = "../rlottie", version = "0.4" } +webp-animation = "0.5" diff --git a/lottie2webp/src/lib.rs b/lottie2webp/src/lib.rs index 529c19c9..89734b44 100644 --- a/lottie2webp/src/lib.rs +++ b/lottie2webp/src/lib.rs @@ -19,20 +19,20 @@ mod util; mod rgba_size { use rgb::RGBA8; use std::{marker::PhantomData, mem}; - + #[derive(Default)] struct AssertSize(PhantomData<[(); N]>); - + impl AssertSize { const fn new() -> Self { Self(PhantomData) } } - + impl AssertSize<4> { const fn assert_size_u8_4(self) {} } - + const _: () = { AssertSize::<{ mem::size_of::() }>::new().assert_size_u8_4(); AssertSize::<{ mem::size_of::<[u8; 4]>() }>::new().assert_size_u8_4(); diff --git a/rlottie-sys/Cargo.toml b/rlottie-sys/Cargo.toml index dc9f868f..b18f953d 100644 --- a/rlottie-sys/Cargo.toml +++ b/rlottie-sys/Cargo.toml @@ -3,7 +3,7 @@ [package] workspace = ".." name = "rlottie-sys" -version = "0.1.0" +version = "0.2.0" license = "MIT" include = ["src/**/*.rs", "/build.rs", "/wrapper.h", "/LICENSE"] diff --git a/rlottie/Cargo.toml b/rlottie/Cargo.toml index 1597d47a..062989d6 100644 --- a/rlottie/Cargo.toml +++ b/rlottie/Cargo.toml @@ -3,7 +3,7 @@ [package] workspace = ".." name = "rlottie" -version = "0.3.1" +version = "0.4.0" license = "MIT" include = ["build.rs", "src/**/*.rs", "/LICENSE"] @@ -15,4 +15,4 @@ rust-version = "1.56" [dependencies] rgb = { version = "0.8.32", default-features = false } -rlottie-sys = { path = "../rlottie-sys", version = "0.1.0" } +rlottie-sys = { path = "../rlottie-sys", version = "0.2.0" }