mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
Bumps [zip](https://github.com/zip-rs/zip2) from 2.2.1 to 2.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases">zip's releases</a>.</em></p> <blockquote> <h2>v2.3.0</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Add support for NTFS extra field (<a href="https://redirect.github.com/zip-rs/zip2/pull/279">#279</a>)</li> </ul> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li><em>(test)</em> Conditionalize a zip64 doctest (<a href="https://redirect.github.com/zip-rs/zip2/pull/308">#308</a>)</li> <li>fix failing tests, remove symlink loop check</li> <li>Canonicalize output path to avoid false negatives</li> <li>Symlink handling in stream extraction</li> <li>Canonicalize output paths and symlink targets, and ensure they descend from the destination</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Fix clippy and cargo fmt warnings (<a href="https://redirect.github.com/zip-rs/zip2/pull/310">#310</a>)</li> </ul> <h2>v2.2.3</h2> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Change the inner structure of <code>DateTime</code> (<a href="https://redirect.github.com/zip-rs/zip2/issues/267">#267</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>cargo fix --edition</li> </ul> <h2>v2.2.2</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>rewrite the EOCD/EOCD64 detection to fix extreme performance regression (<a href="https://redirect.github.com/zip-rs/zip2/issues/247">#247</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/zip-rs/zip2/compare/v2.2.3...v2.3.0">2.3.0</a> - 2025-03-16</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Add support for NTFS extra field (<a href="https://redirect.github.com/zip-rs/zip2/pull/279">#279</a>)</li> </ul> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li><em>(test)</em> Conditionalize a zip64 doctest (<a href="https://redirect.github.com/zip-rs/zip2/pull/308">#308</a>)</li> <li>fix failing tests, remove symlink loop check</li> <li>Canonicalize output path to avoid false negatives</li> <li>Symlink handling in stream extraction</li> <li>Canonicalize output paths and symlink targets, and ensure they descend from the destination</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Fix clippy and cargo fmt warnings (<a href="https://redirect.github.com/zip-rs/zip2/pull/310">#310</a>)</li> </ul> <h2><a href="https://github.com/zip-rs/zip2/compare/v2.2.2...v2.2.3">2.2.3</a> - 2025-02-26</h2> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Change the inner structure of <code>DateTime</code> (<a href="https://redirect.github.com/zip-rs/zip2/issues/267">#267</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>cargo fix --edition</li> </ul> <h2><a href="https://github.com/zip-rs/zip2/compare/v2.2.1...v2.2.2">2.2.2</a> - 2024-12-16</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>rewrite the EOCD/EOCD64 detection to fix extreme performance regression (<a href="https://redirect.github.com/zip-rs/zip2/issues/247">#247</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="6eab5f5cc6"><code>6eab5f5</code></a> chore: release v2.3.0 (<a href="https://redirect.github.com/zip-rs/zip2/issues/300">#300</a>)</li> <li><a href="e4aee2050f"><code>e4aee20</code></a> implement <code>ZipFile::options</code> + refactor options normalization (<a href="https://redirect.github.com/zip-rs/zip2/issues/305">#305</a>)</li> <li><a href="ea8a7bba24"><code>ea8a7bb</code></a> fix(test): Conditionalize a zip64 doctest (<a href="https://redirect.github.com/zip-rs/zip2/issues/308">#308</a>)</li> <li><a href="365c81a39f"><code>365c81a</code></a> Use <code>xz2</code> crate instead of a custom implementation (<a href="https://redirect.github.com/zip-rs/zip2/issues/306">#306</a>)</li> <li><a href="ae94b3452b"><code>ae94b34</code></a> chore: Fix clippy and cargo fmt warnings (<a href="https://redirect.github.com/zip-rs/zip2/issues/310">#310</a>)</li> <li><a href="a2e062f370"><code>a2e062f</code></a> Merge commit from fork</li> <li><a href="0199ac2cb8"><code>0199ac2</code></a> Simplify handling for symlink targets</li> <li><a href="977bb9479d"><code>977bb94</code></a> fix failing tests, remove symlink loop check</li> <li><a href="3cb29e70d1"><code>3cb29e7</code></a> Partial fix for tests</li> <li><a href="2182b07686"><code>2182b07</code></a> Refactor</li> <li>Additional commits viewable in <a href="https://github.com/zip-rs/zip2/compare/v2.2.1...v2.3.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/rustic-rs/rustic/network/alerts). </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
215 lines
6.0 KiB
TOML
215 lines
6.0 KiB
TOML
[package]
|
|
name = "rustic-rs"
|
|
version = "0.9.5"
|
|
authors = ["the rustic-rs team"]
|
|
categories = ["command-line-utilities"]
|
|
documentation = "https://docs.rs/rustic-rs"
|
|
edition = "2021"
|
|
homepage = "https://rustic.cli.rs/"
|
|
include = ["src/**/*", "LICENSE-*", "README.md", "config/**/*"]
|
|
keywords = ["backup", "restic", "deduplication", "encryption", "cli"]
|
|
license = "Apache-2.0 OR MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/rustic-rs/rustic"
|
|
resolver = "2"
|
|
rust-version = "1.80.0"
|
|
description = """
|
|
rustic - fast, encrypted, deduplicated backups powered by Rust
|
|
"""
|
|
|
|
[features]
|
|
default = ["jq", "prometheus", "rhai", "tui", "webdav"]
|
|
release = ["default", "self-update"]
|
|
|
|
# Allocators
|
|
mimalloc = ["dep:mimalloc"]
|
|
jemallocator = ["dep:jemallocator-global"]
|
|
|
|
# Commands
|
|
mount = ["dep:fuse_mt"]
|
|
prometheus = ["dep:prometheus", "dep:base64"]
|
|
self-update = ["dep:self_update", "dep:semver"]
|
|
tui = ["dep:ratatui", "dep:crossterm", "dep:tui-textarea"]
|
|
webdav = [
|
|
"dep:dav-server",
|
|
"dep:warp",
|
|
"dep:tokio",
|
|
"dep:bytes",
|
|
"dep:futures",
|
|
]
|
|
|
|
# Filtering
|
|
rhai = ["dep:rhai"]
|
|
jq = ["dep:jaq-core", "dep:jaq-std", "dep:jaq-json"]
|
|
|
|
[[bin]]
|
|
name = "rustic"
|
|
path = "src/bin/rustic.rs"
|
|
test = true
|
|
bench = true
|
|
doc = true
|
|
harness = true
|
|
edition = "2021"
|
|
# required-features = []
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--document-private-items", "--generate-link-to-definition"]
|
|
|
|
[dependencies]
|
|
abscissa_core = { version = "0.8.1", default-features = false, features = ["application"] }
|
|
rustic_backend = { version = "0.5.2", features = ["cli"] }
|
|
rustic_core = { version = "0.7.2", features = ["cli"] }
|
|
|
|
# allocators
|
|
jemallocator-global = { version = "0.3.2", optional = true }
|
|
mimalloc = { version = "0.1.43", default-features = false, optional = true }
|
|
|
|
# webdav
|
|
dav-server = { version = "0.7.0", default-features = false, features = ["warp-compat"], optional = true }
|
|
tokio = { version = "1", optional = true }
|
|
warp = { version = "0.3.7", optional = true }
|
|
|
|
# tui
|
|
crossterm = { version = "0.28", optional = true }
|
|
ratatui = { version = "0.29.0", optional = true }
|
|
tui-textarea = { version = "0.7.0", optional = true }
|
|
|
|
# logging
|
|
log = "0.4"
|
|
|
|
# errors
|
|
anyhow = "1"
|
|
displaydoc = "0.2.5"
|
|
thiserror = "2"
|
|
|
|
# serialization
|
|
serde = { version = "1", features = ["serde_derive"] }
|
|
serde_json = "1"
|
|
serde_with = { version = "3", features = ["base64"] }
|
|
|
|
# other dependencies
|
|
aho-corasick = "1"
|
|
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
|
|
comfy-table = "7"
|
|
scopeguard = "1"
|
|
semver = { version = "1", optional = true }
|
|
simplelog = "0.12"
|
|
|
|
# commands
|
|
base64 = { version = "0.22.1", optional = true }
|
|
bytes = { version = "1.9.0", optional = true }
|
|
bytesize = "1"
|
|
cached = "0.54.0"
|
|
clap = { version = "4", features = ["derive", "env", "wrap_help"] }
|
|
clap_complete = "4"
|
|
conflate = "0.3.3"
|
|
convert_case = "0.6.0"
|
|
ctrlc = { version = "3.4.5", features = ["termination"] }
|
|
dateparser = "0.2.1"
|
|
derive_more = { version = "1", features = ["debug"] }
|
|
dialoguer = "0.11.0"
|
|
directories = "5"
|
|
flate2 = "1.0.34"
|
|
fuse_mt = { version = "0.6", optional = true }
|
|
futures = { version = "0.3.31", optional = true }
|
|
gethostname = "0.5"
|
|
globset = "0.4.15"
|
|
human-panic = "2"
|
|
humantime = "2"
|
|
indicatif = "0.17"
|
|
itertools = "0.13"
|
|
open = "5.3.1"
|
|
prometheus = { version = "0.13.4", optional = true }
|
|
reqwest = { version = "0.12.9", default-features = false, features = ["rustls-tls-native-roots", "blocking"] }
|
|
self_update = { version = "=0.39.0", default-features = false, optional = true, features = ["rustls", "archive-tar", "compression-flate2"] } # FIXME: Downgraded to 0.39.0 due to https://github.com/jaemk/self_update/issues/136
|
|
tar = "0.4.43"
|
|
toml = "0.8"
|
|
zip = { version = "2.3.0", default-features = false, features = ["deflate", "chrono"] }
|
|
|
|
# filtering
|
|
jaq-core = { version = "2", optional = true }
|
|
jaq-json = { version = "1", features = ["serde_json"], optional = true }
|
|
jaq-std = { version = "2", optional = true }
|
|
rhai = { version = "1", features = ["sync", "serde", "no_optimize", "no_module", "no_custom_syntax", "only_i64"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
abscissa_core = { version = "0.8.1", default-features = false, features = ["testing"] }
|
|
assert_cmd = "2.0.16"
|
|
cfg-if = "1.0.0"
|
|
dircmp = "0.2"
|
|
flate2 = "1.0.35"
|
|
insta = { version = "1.41.1", features = ["ron"] }
|
|
predicates = "3.1.2"
|
|
pretty_assertions = "1.4"
|
|
quickcheck = "1"
|
|
quickcheck_macros = "1"
|
|
rstest = "0.23"
|
|
rustic_testing = "0.3.2"
|
|
tar = "0.4.43"
|
|
tempfile = "3.14"
|
|
toml = "0.8"
|
|
|
|
[target.'cfg(not(windows))'.dependencies]
|
|
libc = "0.2.167"
|
|
|
|
# cargo-binstall support
|
|
# https://github.com/cargo-bins/cargo-binstall/blob/HEAD/SUPPORT.md
|
|
[package.metadata.binstall]
|
|
pkg-url = "{ repo }/releases/download/v{ version }/{ bin }-v{ version }-{ target }{ archive-suffix }"
|
|
bin-dir = "{ bin }{ binary-ext }"
|
|
pkg-fmt = "tgz"
|
|
|
|
[package.metadata.binstall.signing]
|
|
algorithm = "minisign"
|
|
pubkey = "RWSWSCEJEEacVeCy0va71hlrVtiW8YzMzOyJeso0Bfy/ZXq5OryWi/8T"
|
|
|
|
# see: https://nnethercote.github.io/perf-book/build-configuration.html
|
|
[profile.dev]
|
|
opt-level = 0
|
|
debug = true
|
|
rpath = false
|
|
lto = false
|
|
debug-assertions = true
|
|
codegen-units = 4
|
|
|
|
# compile dependencies with optimizations in dev mode
|
|
# see: https://doc.rust-lang.org/stable/cargo/reference/profiles.html#overrides
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
debug = true
|
|
|
|
[profile.release]
|
|
opt-level = 3
|
|
debug = false # true for profiling
|
|
rpath = false
|
|
lto = "fat"
|
|
debug-assertions = false
|
|
codegen-units = 1
|
|
strip = true
|
|
panic = "abort"
|
|
|
|
[profile.test]
|
|
opt-level = 1
|
|
debug = true
|
|
rpath = false
|
|
lto = false
|
|
debug-assertions = true
|
|
codegen-units = 4
|
|
|
|
[profile.bench]
|
|
opt-level = 3
|
|
debug = true # true for profiling
|
|
rpath = false
|
|
lto = true
|
|
debug-assertions = false
|
|
codegen-units = 1
|
|
|
|
# Allows quick RPM file generation, if "cargo-generate-rpm" is installed:
|
|
# cargo build --release; cargo generate-rpm
|
|
# will result in a file like target/generate-rpm/rustic-rs-0.6.1-1.x86_64.rpm
|
|
[package.metadata.generate-rpm]
|
|
assets = [
|
|
{ source = "target/release/rustic", dest = "/usr/bin/rustic", mode = "0755", config = false, doc = false, user = "root", group = "root" },
|
|
]
|