--- libcramjam-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 +++ libcramjam-0.6.0/Cargo.toml 2024-12-27T04:02:07.101811+00:00 @@ -42,6 +42,7 @@ [lib] name = "libcramjam" path = "src/lib.rs" +crate-type = ["lib", "cdylib"] [dependencies.blosc2-rs] version = "0.3.1+2.15.1" @@ -70,7 +71,7 @@ optional = true [dependencies.libdeflate-sys] -version = "<1.20.0" +version = "^1" optional = true [dependencies.libdeflater] @@ -94,17 +95,13 @@ optional = true [build-dependencies.cbindgen] -version = "^0.24" +version = "^0.27" [features] -blosc2 = ["blosc2-static"] +blosc2 = ["blosc2-shared"] blosc2-shared = [ "dep:blosc2-rs", "blosc2-rs/shared", -] -blosc2-static = [ - "dep:blosc2-rs", - "blosc2-rs/static", ] brotli = ["dep:brotli"] bzip2 = ["dep:bzip2"] @@ -124,47 +121,30 @@ "izlib", "zlib", ] -deflate = ["deflate-static"] +deflate = ["deflate-shared"] deflate-shared = [ "dep:libdeflater", "dep:libdeflate-sys", "dep:flate2", "libdeflate-sys/dynamic", ] -deflate-static = [ - "dep:libdeflater", - "dep:libdeflate-sys", - "dep:flate2", -] -gzip = ["gzip-static"] +gzip = ["gzip-shared"] gzip-shared = [ "dep:libdeflater", "dep:libdeflate-sys", "dep:flate2", "libdeflate-sys/dynamic", ] -gzip-static = [ - "dep:libdeflater", - "dep:libdeflate-sys", - "dep:flate2", -] -ideflate = ["isal-static"] +ideflate = ["isal-shared"] ideflate-shared = ["isal-shared"] -ideflate-static = ["isal-static"] -igzip = ["isal-static"] +igzip = ["isal-shared"] igzip-shared = ["isal-shared"] -igzip-static = ["isal-static"] isal-shared = [ "dep:isal-rs", "isal-rs/shared", ] -isal-static = [ - "dep:isal-rs", - "isal-rs/static", -] -izlib = ["isal-static"] +izlib = ["isal-shared"] izlib-shared = ["isal-shared"] -izlib-static = ["isal-static"] lz4 = ["dep:lz4"] snappy = ["dep:snap"] use-system-blosc2 = [ @@ -175,24 +155,14 @@ "dep:isal-rs", "isal-rs/use-system-isal", ] -wasm32-compat = ["blosc2-rs/deactivate-zlib-optim"] -xz = ["xz-static"] +xz = ["xz-shared"] xz-shared = ["dep:xz2"] -xz-static = [ - "dep:xz2", - "xz2/static", -] -zlib = ["zlib-static"] +zlib = ["zlib-shared"] zlib-shared = [ "dep:libdeflater", "dep:libdeflate-sys", "dep:flate2", "libdeflate-sys/dynamic", -] -zlib-static = [ - "dep:libdeflater", - "dep:libdeflate-sys", - "dep:flate2", ] zstd = ["dep:zstd"]