btrfs-backup 0.2.5

A program for backup & restoration of btrfs subvolumes.
Documentation
# 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 = "btrfs-backup"
version = "0.2.5"
authors = ["Daniel Mueller <deso@posteo.net>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "btrfs-backup"
description = """
A program for backup & restoration of btrfs subvolumes.
"""
homepage = "https://github.com/d-e-s-o/btrfs-backup"
readme = "README.md"
keywords = [
    "btrfs",
    "btrfs-backup",
    "backup",
    "cli",
    "filesystem",
]
categories = [
    "filesystem",
    "command-line-utilities",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/d-e-s-o/btrfs-backup.git"

[features]
test = ["dep:tempfile"]

[lib]
name = "btrfs_backup"
path = "src/lib.rs"

[[bin]]
name = "btrfs-backup"
path = "src/main.rs"

[[bin]]
name = "shell-complete"
path = "var/shell-complete.rs"
required-features = ["clap_complete"]

[[test]]
name = "end-to-end"
path = "tests/end-to-end.rs"
required-features = ["test"]

[dependencies.anyhow]
version = "1.0.68"

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

[dependencies.clap_complete]
version = "4.1.1"
optional = true

[dependencies.regex]
version = "1.7.1"
features = ["std"]
default-features = false

[dependencies.tempfile]
version = "3.3.0"
optional = true

[dependencies.time]
version = "0.3.37"
features = [
    "formatting",
    "local-offset",
    "parsing",
]

[dependencies.uname]
version = "0.1.1"

[dev-dependencies.glob]
version = "0.3.1"

[dev-dependencies.goblin]
version = "0.10.0"

[dev-dependencies.memmap]
version = "0.7.0"

[dev-dependencies.serial_test]
version = "3.0.0"

[dev-dependencies.tempfile]
version = "3.3.0"

[dev-dependencies.time-macros]
version = "0.2.24"

[build-dependencies.anyhow]
version = "1.0.68"

[build-dependencies.grev]
version = "0.1.3"

[lints.clippy]
absolute-paths = "warn"
clone-on-ref-ptr = "warn"
collapsible-else-if = "allow"
collapsible-if = "allow"
dbg-macro = "warn"
doc-markdown = "warn"
join-absolute-paths = "warn"
large-enum-variant = "warn"
let-and-return = "allow"
let-unit-value = "allow"
module-inception = "allow"
redundant-closure-for-method-calls = "warn"
unchecked-time-subtraction = "warn"
uninlined-format-args = "warn"
unnecessary-literal-unwrap = "allow"
unwrap-used = "warn"

[lints.rust]
deprecated-safe = "warn"
future-incompatible = "warn"
keyword-idents = "warn"
let-underscore = "warn"
missing-copy-implementations = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
trivial-numeric-casts = "warn"
unused = "warn"

[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
panic = "abort"
incremental = false