# 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 = "loq"
version = "0.1.0-alpha.3"
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 = "cli"
path = "tests/cli.rs"

[[test]]
name = "snapshots"
path = "tests/snapshots.rs"

[dependencies.anyhow]
version = "1"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.loq_core]
version = "0.1.0-alpha.3"

[dependencies.loq_fs]
version = "0.1.0-alpha.3"

[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"

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.regex]
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"
