[package]
edition = "2021"
name = "bitcut"
version = "1.0.0"
build = false
exclude = [
"/.github",
"/target",
"/fuzz",
"/docs",
"/demo-wasm",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Create and apply binary patches"
readme = "README.md"
keywords = [
"binary",
"bin",
"diff",
"patch",
]
categories = [
"command-line-utilities",
"compression",
]
license = "MIT"
repository = "https://github.com/tochka-public/bitcut"
[features]
cli = [
"clap",
"anyhow",
]
default = ["cli"]
demo = []
[lib]
name = "bitcut"
path = "src/lib.rs"
[[bin]]
name = "bitcut"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "corpus_selftest"
path = "tests/corpus_selftest.rs"
[[test]]
name = "escalation"
path = "tests/escalation.rs"
[[test]]
name = "profile_workload"
path = "tests/profile_workload.rs"
[[test]]
name = "property"
path = "tests/property.rs"
[[bench]]
name = "my_benchmark"
path = "benches/my_benchmark.rs"
test = false
harness = false
[dependencies.anyhow]
version = "1.0"
optional = true
[dependencies.clap]
version = "4.5"
features = ["derive"]
optional = true
[dependencies.memchr]
version = "2.7"
[dependencies.rustc-hash]
version = "2.1"
[dependencies.xxhash-rust]
version = "0.8"
features = ["xxh3"]
[dev-dependencies.criterion]
version = "0.5"
features = ["html_reports"]
[dev-dependencies.insta]
version = "1.47.2"
[dev-dependencies.proptest]
version = "1"
[dev-dependencies.rstest]
version = "0"
[dev-dependencies.zstd]
version = "0.13"
[lints.clippy]
arithmetic_side_effects = "deny"
as_conversions = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
default_numeric_fallback = "deny"
expect_used = "deny"
float_cmp = "deny"
indexing_slicing = "deny"
lossy_float_literal = "deny"
panic = "deny"
string_slice = "deny"
unreachable = "deny"
unwrap_used = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
warnings = "deny"