Same reasoning as breadpad, extending breadman's own hand-rolled arg parser rather than adding clap. --screenshot <view> doubles as the view selector — breadman already supports opening directly to a named stack page via --view/initial_view, so this just feeds that same mechanism instead of needing a separate one. Full known-size canvas capture, plain top-level window (not layer-shell). Also fixes the same NON_UNIQUE footgun as breadpad/breadbox/etc.
25 lines
663 B
TOML
25 lines
663 B
TOML
[package]
|
|
name = "breadman"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
|
|
[[bin]]
|
|
name = "breadman"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
breadpad-shared = { path = "../breadpad-shared" }
|
|
# Capture primitives for `--screenshot` mode — see src/screenshot.rs.
|
|
bread-screenshots = { git = "https://git.breadway.dev/Breadway/bread-ecosystem", branch = "dev" }
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
tokio.workspace = true
|
|
chrono.workspace = true
|
|
gtk4.workspace = true
|
|
dirs.workspace = true
|
|
futures-channel = "0.3"
|