Skip to content

Commit

Permalink
Release rlottie-sys 0.2.0, rlottie 0.4.0, lottie2gif 0.4.0, lottie2we…
Browse files Browse the repository at this point in the history
…bp 0.2.0
  • Loading branch information
msrd0 committed Apr 3, 2022
1 parent 0822498 commit 7d482eb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions lottie2gif/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[package]
workspace = ".."
name = "lottie2gif"
version = "0.3.1"
version = "0.4.0"
license = "MIT"
include = ["src/**/*.rs", "/LICENSE"]

Expand All @@ -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" }
6 changes: 3 additions & 3 deletions lottie2webp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[package]
workspace = ".."
name = "lottie2webp"
version = "0.1.0"
version = "0.2.0"
license = "MIT"
include = ["src/**/*.rs", "/LICENSE"]

Expand All @@ -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"
8 changes: 4 additions & 4 deletions lottie2webp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ mod util;
mod rgba_size {
use rgb::RGBA8;
use std::{marker::PhantomData, mem};

#[derive(Default)]
struct AssertSize<const N: usize>(PhantomData<[(); N]>);

impl<const N: usize> AssertSize<N> {
const fn new() -> Self {
Self(PhantomData)
}
}

impl AssertSize<4> {
const fn assert_size_u8_4(self) {}
}

const _: () = {
AssertSize::<{ mem::size_of::<RGBA8>() }>::new().assert_size_u8_4();
AssertSize::<{ mem::size_of::<[u8; 4]>() }>::new().assert_size_u8_4();
Expand Down
2 changes: 1 addition & 1 deletion rlottie-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
4 changes: 2 additions & 2 deletions rlottie/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[package]
workspace = ".."
name = "rlottie"
version = "0.3.1"
version = "0.4.0"
license = "MIT"
include = ["build.rs", "src/**/*.rs", "/LICENSE"]

Expand All @@ -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" }

0 comments on commit 7d482eb

Please sign in to comment.