# 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 = "fsst-rs"
version = "0.5.1"
authors = ["SpiralDB Developers <hello@spiraldb.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust implementation of Fast Static Symbol Tables algorithm for string compression"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/spiraldb/fsst"

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

[[example]]
name = "file_compressor"
path = "examples/file_compressor.rs"

[[example]]
name = "round_trip"
path = "examples/round_trip.rs"
test = false
bench = false

[[test]]
name = "correctness"
path = "tests/correctness.rs"
test = true
bench = false

[[bench]]
name = "compress"
path = "benches/compress.rs"
harness = false

[[bench]]
name = "micro"
path = "benches/micro.rs"
harness = false

[dev-dependencies.criterion]
version = "2.8"
package = "codspeed-criterion-compat"

[dev-dependencies.curl]
version = "0.4"

[lints.clippy]
or_fun_call = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.if_then_some_else_none]
level = "deny"
priority = 0

[lints.clippy.mem_forget]
level = "deny"
priority = 0

[lints.clippy.panic_in_result_fn]
level = "deny"
priority = 0

[lints.clippy.same_name_method]
level = "deny"
priority = 0

[lints.clippy.tests_outside_test_module]
level = "deny"
priority = 0

[lints.clippy.unwrap_in_result]
level = "deny"
priority = 0

[lints.clippy.use_debug]
level = "deny"
priority = 0

[lints.rust]
missing_docs = "deny"
warnings = "deny"