# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "libcramjam" version = "0.6.0" build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Compression library combining a plethora of algorithms in a similar as possible API" readme = "README.md" license = "MIT" [package.metadata.capi.header] name = "cramjam" subdirectory = "cramjam" [package.metadata.capi.library] name = "cramjam" rustflags = "-Cpanic=abort" [package.metadata.capi.pkg_config] strip_include_path_components = 1 [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 strip = true [lib] name = "libcramjam" path = "src/lib.rs" [dependencies.blosc2-rs] version = "0.3.1+2.15.1" optional = true default-features = false [dependencies.brotli] version = "^7" features = [ "std", "ffi-api", ] optional = true default-features = false [dependencies.bzip2] version = "^0.4" optional = true [dependencies.flate2] version = "^1" optional = true [dependencies.libc] version = "0.2" optional = true [dependencies.libdeflate-sys] version = "<1.20.0" optional = true [dependencies.libdeflater] version = "^1" optional = true [dependencies.lz4] version = "^1" optional = true [dependencies.snap] version = "^1" optional = true [dependencies.xz2] version = "0.1.7" optional = true [dependencies.zstd] version = "^0.13" optional = true [build-dependencies.cbindgen] version = "^0.24" [features] blosc2 = ["blosc2-static"] blosc2-shared = [ "dep:blosc2-rs", "blosc2-rs/shared", ] blosc2-static = [ "dep:blosc2-rs", "blosc2-rs/static", ] brotli = ["dep:brotli"] bzip2 = ["dep:bzip2"] capi = ["dep:libc"] default = [ "snappy", "lz4", "bzip2", "brotli", "xz", "zstd", "gzip", "deflate", "blosc2", "igzip", "ideflate", "izlib", "zlib", ] deflate = ["deflate-static"] 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-shared = [ "dep:libdeflater", "dep:libdeflate-sys", "dep:flate2", "libdeflate-sys/dynamic", ] gzip-static = [ "dep:libdeflater", "dep:libdeflate-sys", "dep:flate2", ] ideflate = ["isal-static"] ideflate-shared = ["isal-shared"] ideflate-static = ["isal-static"] igzip = ["isal-static"] 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-shared = ["isal-shared"] izlib-static = ["isal-static"] lz4 = ["dep:lz4"] snappy = ["dep:snap"] use-system-blosc2 = [ "dep:blosc2-rs", "blosc2-rs/use-system-blosc2", ] use-system-isal = [ "dep:isal-rs", "isal-rs/use-system-isal", ] wasm32-compat = ["blosc2-rs/deactivate-zlib-optim"] xz = ["xz-static"] xz-shared = ["dep:xz2"] xz-static = [ "dep:xz2", "xz2/static", ] zlib = ["zlib-static"] zlib-shared = [ "dep:libdeflater", "dep:libdeflate-sys", "dep:flate2", "libdeflate-sys/dynamic", ] zlib-static = [ "dep:libdeflater", "dep:libdeflate-sys", "dep:flate2", ] zstd = ["dep:zstd"] [target.'cfg(target_pointer_width = "64")'.dependencies.isal-rs] version = "^0.5" optional = true default-features = false