[package]
name = "git-simple-encrypt"
version = "3.0.3"
edition = "2024"
rust-version = "1.89"
description = "Encrypt/decrypt files in your git repo using only one password"
readme = "./README.md"
homepage = "https://github.com/lxl66566/git-simple-encrypt"
repository = "https://github.com/lxl66566/git-simple-encrypt"
license = "MIT"
keywords = ["encryption", "git"]
categories = ["cryptography"]
exclude = [".github"]
[lib]
path = "src/lib.rs"
[[bin]]
name = "git-se"
path = "src/main.rs"
required-features = ["bin"]
[dependencies]
argon2 = "0.6"
blake3 = "1"
chacha20poly1305-simd = { version = "0.3", features = ["zeroize"] }
clap = { version = "4.6", features = ["derive"], optional = true }
colored = { version = "3", optional = true }
config-file2 = "0.7"
const-str = "1"
copy-metadata = "0.3"
dashmap = "6"
fuck-backslash = "0.1"
ignore = { version = "0.4", features = ["simd-accel"] }
indicatif = { version = "0.18", optional = true }
log = "0.4"
memmap2 = "0.9"
parking_lot = "0.12.5"
path-absolutize = "4"
pathdiff = "0.2"
pretty_env_logger = { version = "0.5", optional = true }
rand = "0.10"
rayon = "1"
rkyv = "0.8"
serde = { version = "1", features = ["derive"] }
tempfile = "3.26.0"
thiserror = "2"
zeroize = "1.9"
zstd = "0.13"
[dev-dependencies]
anyhow = "1.0"
assert2 = "0.4"
colored = "3"
criterion = "0.8"
tap = "1"
tempfile = "3"
[features]
default = ["bin", "colored", "progress"]
bin = ["dep:clap", "dep:pretty_env_logger"]
colored = ["dep:colored"]
progress = ["dep:indicatif"]
[lints.clippy]
all = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
doc_markdown = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
pedantic = { level = "warn", priority = -1 }
wildcard_imports = "allow"
[lints.rust]
unsafe_code = "allow"
unused_qualifications = "warn"
[profile.release]
opt-level = "s"
strip = true
lto = true
panic = "abort"