[package]
edition = "2024"
name = "exclude_from_backups"
version = "1.1.0"
authors = ["Kornel <kornel@geekhood.net>"]
build = false
include = [
"README.md",
"src/*.rs",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
Mark files or directories as excluded from backups (for Time Machine on macOS).
Can be used to prevent caches and temporary files from bloating backups.
Includes both a library interface and a basic command-line executable.
"""
homepage = "https://lib.rs/exclude_from_backups"
documentation = "https://docs.rs/exclude_from_backups"
readme = "README.md"
keywords = [
"time-machine",
"backups",
"caches",
"temporary-files",
]
license = "MIT/Apache-2.0"
repository = "https://gitlab.com/kornelski/exclude_from_backups.git"
[package.metadata.docs.rs]
targets = ["x86_64-apple-darwin"]
rustdoc-args = ["--generate-link-to-definition"]
[badges.gitlab]
branch = "master"
repository = "kornelski/exclude_from_backups"
[badges.maintenance]
status = "passively-maintained"
[lib]
name = "exclude_from_backups"
path = "src/lib.rs"
[[bin]]
name = "exclude_from_backups"
path = "src/bin.rs"
doc = false
[target.'cfg(target_os = "macos")'.dependencies.core-foundation]
version = "0.10.1"
features = ["mac_os_10_8_features"]
[profile.dev]
debug = 1
[profile.release]
opt-level = 3
lto = true
debug = 0
panic = "abort"
strip = "symbols"