zrip 0.6.0

Fast, memory-safe Rust implementation of Zstandard compression (levels -7..4)
Documentation
# 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 = "2024"
rust-version = "1.85"
name = "zrip"
version = "0.6.0"
build = false
include = [
    "src/**/*",
    "README.md",
    "LICENSE",
    "CHANGELOG.md",
    "DESIGN.md",
    "SAFETY.md",
    "SECURITY.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Fast, memory-safe Rust implementation of Zstandard compression (levels -7..4)"
readme = "README.md"
keywords = [
    "zstd",
    "zstandard",
    "compression",
    "decompression",
]
categories = ["compression"]
license = "MIT"
repository = "https://github.com/paddor/zrip"

[features]
alloc = [
    "zrip-core/alloc",
    "zrip-encode/alloc",
    "zrip-decode/alloc",
]
default = [
    "std",
    "frame",
    "ldm",
]
dict_builder = [
    "std",
    "zrip-core/dict_builder",
]
frame = [
    "std",
    "zrip-encode/frame",
    "zrip-decode/frame",
]
ldm = [
    "std",
    "zrip-encode/ldm",
]
nightly = [
    "zrip-core/nightly",
    "zrip-encode/nightly",
    "zrip-decode/nightly",
]
paranoid = [
    "zrip-core/paranoid",
    "zrip-encode/paranoid",
    "zrip-decode/paranoid",
]
std = [
    "alloc",
    "zrip-core/std",
    "zrip-encode/std",
    "zrip-decode/std",
]

[lib]
name = "zrip"
path = "src/lib.rs"

[dependencies.zrip-core]
version = "0.6.0"
default-features = false

[dependencies.zrip-decode]
version = "0.6.0"
default-features = false

[dependencies.zrip-encode]
version = "0.6.0"
default-features = false

[dev-dependencies.libc]
version = "0.2"

[dev-dependencies.proptest]
version = "1"

[dev-dependencies.zstd]
version = "0.13"

[dev-dependencies.zstd-safe]
version = "7"

[lints.clippy]
bool_to_int_with_if = "allow"
cast_lossless = "allow"
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_ptr_alignment = "allow"
cast_sign_loss = "allow"
doc_markdown = "allow"
enum_glob_use = "allow"
explicit_iter_loop = "allow"
if_not_else = "allow"
inline_always = "allow"
items_after_statements = "allow"
manual_ilog2 = "allow"
match_same_arms = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
needless_bitwise_bool = "allow"
needless_pass_by_value = "allow"
option_if_let_else = "allow"
ptr_as_ptr = "allow"
ptr_cast_constness = "allow"
redundant_closure_for_method_calls = "allow"
similar_names = "allow"
single_match_else = "allow"
too_many_lines = "allow"
wildcard_imports = "allow"

[lints.clippy.pedantic]
level = "warn"
priority = -1

[profile.release]
lto = "thin"
codegen-units = 1