# 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"
rust-version = "1.85"
name = "lz4rip"
version = "0.8.3"
build = false
include = [
    "src/**/*",
    "README.md",
    "LICENSE",
    "CHANGELOG.md",
    "DESIGN.md",
    "SAFETY.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust LZ4 compression. Fast, with encapsulated unsafe."
readme = "README.md"
keywords = [
    "compression",
    "lz4",
    "compress",
    "decompression",
    "decompress",
]
categories = ["compression"]
license = "MIT"
repository = "https://github.com/paddor/lz4rip"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
alloc = [
    "lz4rip-encode/alloc",
    "lz4rip-decode/alloc",
]
default = [
    "std",
    "frame",
]
frame = [
    "std",
    "dep:twox-hash",
]
nightly = [
    "lz4rip-core/nightly",
    "lz4rip-encode/nightly",
    "lz4rip-decode/nightly",
]
std = [
    "alloc",
    "lz4rip-core/std",
    "lz4rip-encode/std",
    "lz4rip-decode/std",
]

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

[dependencies.lz4rip-core]
version = "0.5.0"
default-features = false

[dependencies.lz4rip-decode]
version = "0.8.2"
default-features = false

[dependencies.lz4rip-encode]
version = "0.8.3"
default-features = false

[dependencies.twox-hash]
version = "2.0.0"
features = ["xxhash32"]
optional = true
default-features = false

[dev-dependencies.binggan]
version = "0.14.0"

[dev-dependencies.jemallocator]
version = "0.5.4"

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

[dev-dependencies.lz4_flex_unsafe]
version = "0.11.5"
features = ["std"]
default-features = false
package = "lz4_flex"

[dev-dependencies.lzzzz]
version = "2.0.0"

[dev-dependencies.more-asserts]
version = "0.3.1"

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

[dev-dependencies.snap]
version = "1.1.0"

[profile.bench]
opt-level = 3
lto = true
codegen-units = 1

[profile.release]
opt-level = 3
codegen-units = 1
panic = "unwind"
