[package]
edition = "2024"
rust-version = "1.88"
name = "weavatrix-clone"
version = "0.1.4"
authors = ["Sergii Ziborov <sergii.ziborov@gmail.com>"]
build = false
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Evidence-first Type-1/2/3 code clone engine with deterministic families and bounded near-miss verification"
homepage = "https://weavatrix.com"
documentation = "https://docs.rs/weavatrix-clone"
readme = "README.md"
keywords = [
"clone-detection",
"duplicate-code",
"winnowing",
"static-analysis",
]
categories = [
"development-tools",
"text-processing",
]
license = "MIT"
repository = "https://github.com/sergii-ziborov/weavatrix-clone"
[features]
default = ["scan"]
scan = ["dep:weavatrix-scan"]
[lib]
name = "weavatrix_clone"
path = "src/lib.rs"
[[bin]]
name = "weavatrix-clone"
path = "src/bin/weavatrix-clone.rs"
required-features = ["scan"]
[[test]]
name = "accuracy"
path = "tests/accuracy.rs"
[[test]]
name = "correctness"
path = "tests/correctness.rs"
[[test]]
name = "families"
path = "tests/families.rs"
[[test]]
name = "output"
path = "tests/output.rs"
[[test]]
name = "repository"
path = "tests/repository.rs"
[[bench]]
name = "core"
path = "benches/core.rs"
harness = false
[[bench]]
name = "typescript"
path = "benches/typescript.rs"
harness = false
required-features = ["scan"]
[dependencies.weavatrix-scan]
version = "0.4.6"
optional = true
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"