# 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" rust-version = "1.80.0" name = "rustic-rs" version = "0.9.4" authors = ["the rustic-rs team"] build = false include = [ "src/**/*", "LICENSE-*", "README.md", "config/**/*", ] autobins = false autoexamples = false autotests = false autobenches = false description = """ rustic - fast, encrypted, deduplicated backups powered by Rust """ homepage = "https://rustic.cli.rs/" documentation = "https://docs.rs/rustic-rs" readme = "README.md" keywords = [ "backup", "restic", "deduplication", "encryption", "cli", ] categories = ["command-line-utilities"] license = "Apache-2.0 OR MIT" repository = "https://github.com/rustic-rs/rustic" resolver = "2" [package.metadata.binstall] bin-dir = "{ bin }{ binary-ext }" pkg-fmt = "tgz" pkg-url = "{ repo }/releases/download/v{ version }/{ bin }-v{ version }-{ target }{ archive-suffix }" [package.metadata.binstall.signing] algorithm = "minisign" pubkey = "RWSWSCEJEEacVeCy0va71hlrVtiW8YzMzOyJeso0Bfy/ZXq5OryWi/8T" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--document-private-items", "--generate-link-to-definition", ] [[package.metadata.generate-rpm.assets]] config = false dest = "/usr/bin/rustic" doc = false group = "root" mode = "0755" source = "target/release/rustic" user = "root" [profile.bench] opt-level = 3 lto = true codegen-units = 1 debug = 2 debug-assertions = false rpath = false [profile.dev] opt-level = 0 lto = false codegen-units = 4 debug = 2 debug-assertions = true rpath = false [profile.dev.package."*"] opt-level = 3 debug = 2 [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 0 debug-assertions = false rpath = false panic = "abort" strip = true [profile.test] opt-level = 1 lto = false codegen-units = 4 debug = 2 debug-assertions = true rpath = false [lib] name = "rustic_rs" path = "src/lib.rs" [[bin]] name = "rustic" path = "src/bin/rustic.rs" test = true bench = true doc = true harness = true edition = "2021" [dependencies.abscissa_core] version = "0.8.1" features = ["application"] default-features = false [dependencies.aho-corasick] version = "1" [dependencies.anyhow] version = "1" [dependencies.bytesize] version = "1" [dependencies.cached] version = "0.53.1" [dependencies.chrono] version = "0.4" features = [ "clock", "serde", ] default-features = false [dependencies.clap] version = "4" features = [ "derive", "env", "wrap_help", ] [dependencies.clap_complete] version = "4" [dependencies.comfy-table] version = "7" [dependencies.conflate] version = "0.2" [dependencies.convert_case] version = "0.6.0" [dependencies.crossterm] version = "0.28" optional = true [dependencies.dateparser] version = "0.2.1" [dependencies.dav-server] version = "0.7.0" features = ["warp-compat"] optional = true default-features = false [dependencies.derive_more] version = "1" features = ["debug"] [dependencies.dialoguer] version = "0.11.0" [dependencies.directories] version = "5" [dependencies.displaydoc] version = "0.2.5" [dependencies.gethostname] version = "0.5" [dependencies.globset] version = "0.4.15" [dependencies.human-panic] version = "2" [dependencies.humantime] version = "2" [dependencies.indicatif] version = "0.17" [dependencies.itertools] version = "0.13" [dependencies.jemallocator-global] version = "0.3.2" optional = true [dependencies.log] version = "0.4" [dependencies.mimalloc] version = "0.1.43" optional = true default-features = false [dependencies.open] version = "5.3.0" [dependencies.ratatui] version = "0.29.0" optional = true [dependencies.rhai] version = "1" features = [ "sync", "serde", "no_optimize", "no_module", "no_custom_syntax", "only_i64", ] [dependencies.rustic_backend] version = "0.4.2" features = ["cli"] [dependencies.rustic_core] version = "0.5.4" features = ["cli"] [dependencies.scopeguard] version = "1" [dependencies.self_update] version = "0.39.0" features = [ "rustls", "archive-tar", "compression-flate2", ] optional = true default-features = false [dependencies.semver] version = "1" optional = true [dependencies.serde] version = "1" features = ["serde_derive"] [dependencies.serde_json] version = "1" [dependencies.serde_with] version = "3" features = ["base64"] [dependencies.simplelog] version = "0.12" [dependencies.tar] version = "0.4.42" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1" optional = true [dependencies.toml] version = "0.8" [dependencies.tui-textarea] version = "0.7.0" optional = true [dependencies.warp] version = "0.3.7" optional = true [dev-dependencies.abscissa_core] version = "0.8.1" features = ["testing"] default-features = false [dev-dependencies.assert_cmd] version = "2.0.16" [dev-dependencies.dircmp] version = "0.2" [dev-dependencies.insta] version = "1.40.0" features = ["ron"] [dev-dependencies.predicates] version = "3.1.2" [dev-dependencies.pretty_assertions] version = "1.4" [dev-dependencies.quickcheck] version = "1" [dev-dependencies.quickcheck_macros] version = "1" [dev-dependencies.rstest] version = "0.23" [dev-dependencies.rustic_testing] version = "0.2.2" [dev-dependencies.tempfile] version = "3.13" [dev-dependencies.toml] version = "0.8" [features] default = [ "tui", "webdav", ] jemallocator = ["dep:jemallocator-global"] mimalloc = ["dep:mimalloc"] release = [ "default", "self-update", ] self-update = [ "dep:self_update", "dep:semver", ] tui = [ "dep:ratatui", "dep:crossterm", "dep:tui-textarea", ] webdav = [ "dep:dav-server", "dep:warp", "dep:tokio", "rustic_core/webdav", ] [target."cfg(not(windows))".dependencies.libc] version = "0.2.159"