[package]
edition = "2021"
name = "loq"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Enforce file size constraints"
readme = false
license = "MIT"
repository = "https://github.com/jakekaplan/loq"
[lib]
name = "loq_cli"
path = "src/lib.rs"
[[bin]]
name = "loq"
path = "src/main.rs"
[[test]]
name = "baseline"
path = "tests/baseline.rs"
[[test]]
name = "baseline_rebaseline"
path = "tests/baseline_rebaseline.rs"
[[test]]
name = "baseline_reset"
path = "tests/baseline_reset.rs"
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "cli_git_scope"
path = "tests/cli_git_scope.rs"
[[test]]
name = "cli_scope_examples"
path = "tests/cli_scope_examples.rs"
[[test]]
name = "escaped_paths"
path = "tests/escaped_paths.rs"
[[test]]
name = "relax"
path = "tests/relax.rs"
[[test]]
name = "snapshots"
path = "tests/snapshots.rs"
[[test]]
name = "tighten"
path = "tests/tighten.rs"
[dependencies.anyhow]
version = "1"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.dunce]
version = ">=1.0.5"
[dependencies.globset]
version = "0.4"
[dependencies.loq_core]
version = "0.1.0"
[dependencies.loq_fs]
version = "0.1.0"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tempfile]
version = "3"
[dependencies.termcolor]
version = "1"
[dependencies.toml_edit]
version = "0.22"
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.insta]
version = "1"
features = [
"json",
"redactions",
]
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.regex]
version = "1"
[dev-dependencies.serde_json]
version = "1"
[lints.clippy]
dbg_macro = "warn"
exit = "warn"
get_unwrap = "warn"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "warn"
needless_pass_by_value = "allow"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_clone = "warn"
rest_pat_in_fully_bound_structs = "warn"
verbose_file_reads = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
unsafe_code = "forbid"