Skip to content

Commit

Permalink
Merge pull request #177 from hyprland-community/add-events
Browse files Browse the repository at this point in the history
  • Loading branch information
yavko authored Oct 24, 2024
2 parents e709502 + 9058ffc commit ca24139
Show file tree
Hide file tree
Showing 15 changed files with 1,031 additions and 700 deletions.
153 changes: 125 additions & 28 deletions Cargo.lock

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

21 changes: 10 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ members = [
]

[workspace.package]
version = "0.4.0-alpha.3"
version = "0.4.0-beta.1"
license = "GPL-3.0-or-later"
repository = "https://github.com/hyprland-community/hyprland-rs"
keywords = ["hyprland", "ipc", "hypr", "wayland", "linux"]
categories = ["api-bindings"]
authors = ["yavko <[email protected]>"]

[dependencies]
hyprland-macros = { path = "hyprland-macros", version = "0.4.0-alpha.1" }
hyprland-macros = { path = "hyprland-macros", version = "0.4.0-beta.1" }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_repr = "0.1"
Expand All @@ -44,16 +44,13 @@ tokio = { version = "1", features = [
"io-util",
"macros",
"net",
"sync",
"rt"
], optional = true }
tokio-stream = { version = "0.1", features = ["sync"], optional = true }
async-net = { version = "2.0", optional = true }
async-std = { version = "1.12", optional = true }
futures-lite = { version = "2.3", optional = true, default-features = false }
regex = { version = "1.10", default-features = false, features = [
"std",
"perf",
"unicode",
] }
futures-lite = { version = "2.3", default-features = false }
num-traits = "0.2.19"
paste = "1.0.14"
derive_more = { version = "0.99", default-features = false, features = [
Expand All @@ -67,6 +64,9 @@ ahash = { version = "0.8", features = [
"no-rng",
"serde",
], optional = true, default-features = false }
phf = {version="0.11.2", features = ["macros"] }
either = "1.13.0"
async-stream = "0.3.5"

[features]
default = [
Expand All @@ -79,16 +79,15 @@ default = [
"tokio",
"ahash",
]
async-lite = ["dep:async-net", "dep:futures-lite"]
async-std = ["dep:async-std", "dep:futures-lite"]
async-lite = ["dep:async-net"]
async-std = ["dep:async-std"]
tokio = ["dep:tokio"]
dispatch = []
data = []
ctl = []
keyword = []
config = ["dispatch", "keyword"]
listener = ["data", "dispatch"]
silent = []
parking_lot = ["dep:parking_lot", "once_cell/parking_lot", "tokio?/parking_lot"]
ahash = ["dep:ahash"]
unsafe-impl = []
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ An unofficial rust wrapper for Hyprland's IPC

## Help Wanted!
We need help with developing the next version of hyprland-rs `0.4`,
if you know how to do the things in https://github.com/hyprland-community/hyprland-rs/milestone/4
if you know how to do the things in <https://github.com/hyprland-community/hyprland-rs/milestone/4>
contributions in those areas would be greatly appreciated!

## Disclaimer
Expand All @@ -28,7 +28,7 @@ Let's get started with Hyprland-rs!
Add the code below to the dependencies section of your Cargo.toml file!

```toml
hyprland = "0.3.13"
hyprland = "0.4.0-beta.1"
```

### Reading the docs
Expand Down
1 change: 1 addition & 0 deletions hyprland-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,4 @@ proc-macro = true
[dependencies]
syn = { version = "2", features = ["full", "parsing"]}
quote = "1"
proc-macro2 = "1"
Loading

0 comments on commit ca24139

Please sign in to comment.