Skip to content

Commit

Permalink
refactor: restruct
Browse files Browse the repository at this point in the history
  • Loading branch information
Decodetalkers committed Dec 7, 2023
1 parent 7ea1fab commit 29af390
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 35 deletions.
38 changes: 3 additions & 35 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,38 +1,6 @@
[package]
name = "libwaysip"
description = "lib and tool provide function like slurp"
authors.workspace = true
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
tempfile = "3.8.1"
wayland-client = { version = "0.31.1" }
wayland-cursor = "0.31.0"

wayland-protocols = { version = "0.31.0", default-features = false, features = [
"unstable",
"client",
] }

wayland-protocols-wlr = { version = "0.2.0", default-features = false, features = [
"client",
] }

cairo-rs = "0.18.3"
pango = "0.18.3"
pangocairo = "0.18.0"

memmap2 = "0.9.0"
thiserror = "1.0.50"

[workspace]
members = ["./waysip"]
resolver = "2"
members = ["./waysip", "./libwaysip"]

[workspace.package]
authors = ["Decodertalkers <[email protected]>"]
Expand All @@ -44,4 +12,4 @@ repository = "https://github.com/waycrate/waysip"
keywords = ["wayland", "wlroots", "slurp"]

[workspace.dependencies]
libwaysip = { version = "0.1.0", path = "." }
libwaysip = { version = "0.1.0", path = "./libwaysip" }
30 changes: 30 additions & 0 deletions libwaysip/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
[package]
name = "libwaysip"
description = "lib and tool provide function like slurp"
authors.workspace = true
version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
keywords.workspace = true

[dependencies]
tempfile = "3.8.1"
wayland-client = { version = "0.31.1" }
wayland-cursor = "0.31.0"

wayland-protocols = { version = "0.31.0", default-features = false, features = [
"unstable",
"client",
] }

wayland-protocols-wlr = { version = "0.2.0", default-features = false, features = [
"client",
] }

cairo-rs = "0.18.3"
pango = "0.18.3"
pangocairo = "0.18.0"

memmap2 = "0.9.0"
thiserror = "1.0.50"
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 29af390

Please sign in to comment.