[package]
edition = "2024"
rust-version = "1.89"
name = "git-cow"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Git worktrees that share files with a template through copy-on-write clones (APFS, XFS, btrfs, ReFS)"
readme = "README.md"
keywords = [
"git",
"worktree",
"copy-on-write",
"reflink",
"clonefile",
]
categories = [
"command-line-utilities",
"development-tools",
"filesystem",
]
license = "MIT"
repository = "https://github.com/gabrielkoerich/git-cow"
[lib]
name = "git_cow"
path = "src/lib.rs"
[[bin]]
name = "git-cow"
path = "src/main.rs"
[[test]]
name = "cow"
path = "tests/cow.rs"
[[test]]
name = "relative"
path = "tests/relative.rs"
[dependencies]
[dev-dependencies.tempfile]
version = "3"
[lints.clippy]
absolute_paths = "warn"
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_conversions = "warn"
cast_possible_truncation = "warn"
cast_sign_loss = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
enum_glob_use = "allow"
exhaustive_enums = "warn"
expect_used = "allow"
fn_params_excessive_bools = "warn"
missing_assert_message = "warn"
missing_errors_doc = "warn"
missing_panics_doc = "warn"
module_inception = "allow"
module_name_repetitions = "allow"
multiple_unsafe_ops_per_block = "warn"
must_use_candidate = "allow"
panic_in_result_fn = "warn"
print_stderr = "warn"
print_stdout = "warn"
rc_buffer = "warn"
redundant_clone = "warn"
string_add = "warn"
struct_excessive_bools = "warn"
todo = "warn"
undocumented_unsafe_blocks = "warn"
unwrap_used = "warn"
wildcard_imports = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_op_in_unsafe_fn = "warn"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1