# 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 = "dorst" version = "0.18.1" authors = ["charlesrocket"] build = "prebuild.rs" exclude = [ ".github", "/data", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Codebase bootstrap and backup utility" readme = "README.md" keywords = [ "backup", "git", ] categories = [ "command-line-utilities", "development-tools", "gui", ] license = "MIT" repository = "https://github.com/charlesrocket/dorst" [profile.release] lto = true debug = 0 strip = true [[bin]] name = "dorst" path = "src/main.rs" [[test]] name = "cli" path = "tests/cli.rs" [[test]] name = "gui" path = "tests/gui.rs" [dependencies.adw] version = "0.7" features = ["v1_5"] optional = true package = "libadwaita" [dependencies.anyhow] version = "1.0" [dependencies.async-channel] version = "2" optional = true [dependencies.clap] version = "4.5" features = ["string"] optional = true [dependencies.git2] version = "0.19" features = ["vendored-openssl"] [dependencies.glib] version = "0.20" optional = true [dependencies.gtk] version = "0.9" features = ["v4_12"] optional = true package = "gtk4" [dependencies.indicatif] version = "0.17" optional = true [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.toml] version = "0.8" [dependencies.tracing] version = "0.1" optional = true [dependencies.tracing-appender] version = "0.2" optional = true [dependencies.tracing-subscriber] version = "0.3" optional = true [dev-dependencies.assert_cmd] version = "2" [dev-dependencies.predicates] version = "3" [dev-dependencies.rouille] version = "3" [dev-dependencies.tempfile] version = "3" [dev-dependencies.tokio] version = "1" features = ["rt-multi-thread"] [build-dependencies.built] version = "0.7" features = ["git2"] [build-dependencies.glib-build-tools] version = "0.20" optional = true [features] cli = [ "dep:clap", "dep:indicatif", ] default = [ "cli", "logs", ] gui = [ "dep:adw", "dep:async-channel", "dep:glib", "dep:gtk", "dep:glib-build-tools", ] logs = [ "dep:tracing", "dep:tracing-appender", "dep:tracing-subscriber", ]