Skip to content

Commit

Permalink
feat: use workspace package control global values
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Dec 19, 2023
1 parent 0ecd4e4 commit eeb2589
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 28 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 15 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
[workspace]
resolver = "2"
members = [
"wayshot",
"libwayshot",
]
members = ["wayshot", "libwayshot"]

[workspace.package]
authors = ["Shinyzenith <https://aakash.is-a.dev>"]
homepage = "https://waycrate.github.io"
description = "Screenshot crate for wlroots based compositors implementing the zwlr_screencopy_v1 protocol."
keywords = ["screenshot", "wayland", "wlroots", "wayshot"]
license = "BSD-2-Clause"
repository = "https://git.sr.ht/~shinyzenith/wayshot"
version = "0.3.2-dev"
edition = "2021"

[workspace.dependencies]
libwayshot = { version = "0.3.2-dev", path = "./libwayshot" }
tracing = "0.1.37"
17 changes: 9 additions & 8 deletions libwayshot/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
[package]
authors = ["Shinyzenith <https://aakash.is-a.dev>"]
description = "Screenshot crate for wlroots based compositors implementing the zwlr_screencopy_v1 protocol."
keywords = ["screenshot", "wayland", "wlroots", "wayshot"]
license = "BSD-2-Clause"
repository = "https://git.sr.ht/~shinyzenith/wayshot"
name = "libwayshot"
version = "0.3.1-dev"
edition = "2021"
authors.workspace = true
description.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true
version.workspace = true
edition.workspace = true

[dependencies]
tracing.workspace = true
image = { version = "0.24", default-features = false }
memmap2 = "0.9.0"
nix = { version = "0.27.1", features = ["fs", "mman"] }
thiserror = "1"
tracing = "0.1.37"

wayland-client = "0.31.1"
wayland-protocols = { version = "0.31.0", features = ["client", "unstable"] }
wayland-protocols-wlr = { version = "0.2.0", features = ["client"] }
33 changes: 19 additions & 14 deletions wayshot/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
[package]
authors = ["Shinyzenith <https://aakash.is-a.dev>"]
description = "Screenshot tool for wlroots based compositors implementing the zwlr_screencopy_v1 protocol."
documentation = "https://docs.rs/crate/wayshot/latest"
edition = "2021"
homepage = "https://waycrate.github.io"
keywords = ["screenshot", "wayland", "wlroots"]
license = "BSD-2-Clause"
name = "wayshot"
repository = "https://git.sr.ht/~shinyzenith/wayshot"
version = "1.3.2-dev"
version.workspace = true
authors.workspace = true
description.workspace = true
documentation = "https://docs.rs/crate/wayshot/latest"
edition.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
repository.workspace = true

[build-dependencies]
flate2 = "1.0.27"

[dependencies]
clap = "4.4.6"
tracing.workspace = true

tracing = "0.1.37"
tracing-subscriber = "0.3.17"
libwayshot.workspace = true

libwayshot = { version="0.3.1-dev", path = "../libwayshot" }
clap = "4.4.6"
tracing-subscriber = "0.3.17"

image = { version = "0.24", default-features = false, features = ["jpeg", "png", "pnm", "qoi"] }
image = { version = "0.24", default-features = false, features = [
"jpeg",
"png",
"pnm",
"qoi",
] }

dialoguer = { version = "0.11.0", features = ["fuzzy-select"] }

Expand Down

0 comments on commit eeb2589

Please sign in to comment.