Skip to content

Commit

Permalink
Merge pull request #184 from odilia-app/maintanance-fixes-2405
Browse files Browse the repository at this point in the history
Maintanance fixes
  • Loading branch information
TTWNO authored May 22, 2024
2 parents 5c684a9 + f1696af commit 280f3b2
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 24 deletions.
19 changes: 4 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,18 @@
[workspace]
resolver = "2"
members = [
"atspi",
"atspi-proxies",
"atspi-common",
"atspi-connection",
]
members = ["atspi", "atspi-proxies", "atspi-common", "atspi-connection"]


[workspace.package]
description = "AT-SPI2 protocol implementation in Rust"
authors = [
"Michael Connor Buchan <[email protected]>",
"Tait Hoyem <[email protected]>",
"Alberto Tirla <[email protected]>",
"DataTriny <[email protected]>",
"Luuk van der Duim <[email protected]>"
]
authors = ["Michael Connor Buchan <[email protected]>", "Tait Hoyem <[email protected]>", "Alberto Tirla <[email protected]>", "DataTriny <[email protected]>", "Luuk van der Duim <[email protected]>"]
rust-version = "1.75.0"

[workspace.dependencies]
zbus = { version = "4.0", default-features = false }
zbus = { version = "4.2", default-features = false }
tracing = "0.1.37"
enumflags2 = "0.7.7"

[profile.bench]
lto = true
codegen-units = 1
codegen-units = 1
4 changes: 2 additions & 2 deletions atspi-common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ static_assertions = "1.1.0"
zbus-lockstep = "0.4.4"
zbus-lockstep-macros = "0.4.4"
zbus_names = "3.0"
zvariant = { version = "4.0", default-features = false }
zvariant = { version = "4.1", default-features = false }
zbus = { workspace = true, optional = true, default-features = false }

[dev-dependencies]
atspi-connection = { path = "../atspi-connection" }
atspi-proxies = { path = "../atspi-proxies" }
atspi-proxies = { path = "../atspi-proxies" }
rename-item = "0.1.0"
serde_plain = "1.0.1"
static_assertions = "1.1.0"
Expand Down
4 changes: 2 additions & 2 deletions atspi-common/src/object_ref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ impl TryFrom<zvariant::OwnedValue> for ObjectRef {
}

impl From<ObjectRef> for zvariant::Structure<'_> {
fn from(accessible: ObjectRef) -> Self {
(accessible.name, accessible.path).into()
fn from(obj: ObjectRef) -> Self {
(obj.name, obj.path).into()
}
}
6 changes: 3 additions & 3 deletions atspi-proxies/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ tokio = ["zbus/tokio", "atspi-common/tokio"]
[dependencies]
atspi-common = { path = "../atspi-common", version = "0.5.0", default-features = false }
serde = { version = "^1.0", default-features = false, features = ["derive"] }
zbus = { workspace = true }
zvariant = { version = "4.0", default-features = false }
zbus = { workspace = true }
zvariant = { version = "4.1", default-features = false }

[dev-dependencies]
async-std = { version = "1", features = ["attributes"] }
Expand All @@ -36,7 +36,7 @@ futures-lite = { version = "2", default-features = false }
rename-item = "0.1.0"
serde_json = "1.0.96"
serde_plain = "1.0.1"
tokio = { version = "1", default_features = false, features = ["macros", "rt-multi-thread"] }
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1"
tokio-test = "0.4.2"
tracing = "0.1.37"
2 changes: 1 addition & 1 deletion atspi-proxies/src/accessible.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ trait Accessible {
/// Application-specific identifier for the current object.
///
/// A special id given to an object.
/// ObjectRef application developers can use this to give a special id to an object
/// Accessible application developers can use this to give a special id to an object
/// to use in tests, for example, "my_widget".
///
/// Note that there is no way to directly find an object by its id;
Expand Down
4 changes: 3 additions & 1 deletion atspi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.21.0"
authors.workspace = true
edition = "2021"
description = "Pure-Rust, zbus-based AT-SPI2 protocol implementation."
license = "Apache-2.0 OR MIT"
license = "Apache-2.0 OR MIT"
readme = "../README.md"
repository = "https://github.com/odilia-app/atspi"
homepage = "https://github.com/odilia-app/atspi"
Expand Down Expand Up @@ -32,6 +32,8 @@ tracing = ["atspi-connection/tracing"]
atspi-common = { path = "../atspi-common", version = "0.5.0", default-features = false }
atspi-connection = { path = "../atspi-connection", version = "0.5.0", default-features = false, optional = true }
atspi-proxies = { path = "../atspi-proxies", version = "0.5.0", default-features = false, optional = true }
zbus = { workspace = true, optional = true }


[[bench]]
name = "event_parsing"
Expand Down

0 comments on commit 280f3b2

Please sign in to comment.