diff --git a/Cargo.lock b/Cargo.lock index dbd88bc44..af41944e4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,14 +61,14 @@ checksum = "486f806e73c5707928240ddc295403b1b93c96a02038563881c4a2fd84b81ac4" [[package]] name = "libbz2-rs-sys" -version = "0.1.0" +version = "0.1.1" dependencies = [ "libc", ] [[package]] name = "libbzip2-rs" -version = "0.1.0" +version = "0.1.1" dependencies = [ "crc32fast", "libbz2-rs-sys", @@ -134,7 +134,7 @@ dependencies = [ [[package]] name = "test-libbz2-rs-sys" -version = "0.0.0" +version = "0.1.1" dependencies = [ "bzip2-sys", "libbz2-rs-sys", diff --git a/Cargo.toml b/Cargo.toml index 517d34c07..15e92de3d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,13 +8,13 @@ exclude = [ ] [workspace.package] -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "bzip2-1.0.6" repository = "https://github.com/trifectatechfoundation/libbzip2-rs" homepage = "https://github.com/trifectatechfoundation/libbzip2-rs" readme = "./README.md" -description = "a drop-in compatible rust bzip2 implementation" +description = "a drop-in compatible rust bzip2 implementation" publish = true rust-version = "1.82" # MSRV @@ -24,7 +24,7 @@ libbz2-rs-sys = { path = "libbz2-rs-sys/", default-features = false } [package] name = "libbzip2-rs" -readme.workspace = true +readme.workspace = true description.workspace = true version.workspace = true edition.workspace = true diff --git a/libbz2-rs-sys-cdylib/Cargo.toml b/libbz2-rs-sys-cdylib/Cargo.toml index 47e359016..913ba5c24 100644 --- a/libbz2-rs-sys-cdylib/Cargo.toml +++ b/libbz2-rs-sys-cdylib/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "libbz2-rs-sys-cdylib" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "bzip2-1.0.6" repository = "https://github.com/trifectatechfoundation/libbzip2-rs" @@ -23,7 +23,7 @@ custom-prefix = ["libbz2-rs-sys/custom-prefix"] # use the LIBBZ2_RS_SYS_PREFIX t capi = [] [dependencies] -libbz2-rs-sys = { version = "0.1.0", path = "../libbz2-rs-sys", default-features = false, features = ["c-allocator"] } +libbz2-rs-sys = { version = "0.1.1", path = "../libbz2-rs-sys", default-features = false, features = ["c-allocator"] } libc = "0.2" [package.metadata.capi.library] diff --git a/libbz2-rs-sys/src/lib.rs b/libbz2-rs-sys/src/lib.rs index 35c18ab3a..2a6107373 100644 --- a/libbz2-rs-sys/src/lib.rs +++ b/libbz2-rs-sys/src/lib.rs @@ -151,6 +151,7 @@ fn handle_assert_failure(errcode: c_int) -> ! { // Stash the assertion code for the panic handler in the cdylib to pass to bz_internal_error. // Using relaxed ordering as this will be accessed on the same thread. #[cfg(not(feature = "std"))] + #[allow(clippy::unnecessary_cast)] ASSERT_CODE.store(errcode as i32, Ordering::Relaxed); #[cfg(not(feature = "std"))] panic!("{}", AssertFail(errcode)); diff --git a/test-libbz2-rs-sys/Cargo.toml b/test-libbz2-rs-sys/Cargo.toml index 85abd3cf4..270373db7 100644 --- a/test-libbz2-rs-sys/Cargo.toml +++ b/test-libbz2-rs-sys/Cargo.toml @@ -1,14 +1,14 @@ [package] name = "test-libbz2-rs-sys" readme = "README.md" -# description.workspace = true -# version.workspace = true +description = "testing libbz2-rs-sys" +version.workspace = true edition.workspace = true -# license.workspace = true -# repository.workspace = true -# homepage.workspace = true -# publish.workspace = true -# rust-version.workspace = true +license.workspace = true +repository.workspace = true +homepage.workspace = true +rust-version.workspace = true +publish = false [dependencies] bzip2-sys = { version = "0.1.11", features = ["static"] }