Skip to content

Commit

Permalink
Update Odilia to atspi v0.21.0 (#144)
Browse files Browse the repository at this point in the history
* Additional type fixups, handling of legacy cache item

cargo fmt

* Desugar AFIT for send bounds enforcement

* children_num i32 -> usize

Clippy

* Re-add old text interfaces to cache

* i32 -> usize for string positioning

Adapt to i32 -> usize changes

fmt

* Add clippy exceptions for cache crate

* Fix clippy issues

* Fix test compiles

* Fix deps

* Remove the old code in state

* Fix tests

* formatting

* Various cleanups

- Rename `get_children_caret` to `get_children_from_cursor`
- Remove `async_trait` in favour of dep-less solution.

* Change debug level, and use question mark syntax

* Remove unused trait

* Remove unused dep

* Remove config from state as it is unused

* Thank clippy for its service
  • Loading branch information
TTWNO committed May 24, 2024
1 parent 7a91a84 commit 23797bd
Show file tree
Hide file tree
Showing 13 changed files with 773 additions and 239 deletions.
60 changes: 42 additions & 18 deletions Cargo.lock

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

10 changes: 5 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ pre-release-hook = ["cargo", "fmt"]
dependent-version = "upgrade"

[workspace.dependencies]
atspi = { version = "0.16.0", default-features = false, features = ["tokio", "unstable-proxy-traits"] }
atspi-client = { version = "0.1.0", default-features = false }
atspi-proxies = { version = "0.1.0", default-features = false }
atspi-common = { version = "0.1.0", default-features = false }
atspi-connection = { version = "0.1.0", default-features = false }
atspi = { version = "0.21.0", default-features = false, features = ["tokio"] }
atspi-client = { version = "0.1.0", default-features = false, features = ["tokio"] }
atspi-proxies = { version = "0.5.0", default-features = false, features = ["tokio"] }
atspi-common = { version = "0.5.0", default-features = false, features = ["tokio"] }
atspi-connection = { version = "0.5.0", default-features = false, features = ["tokio"] }
odilia-common = { version = "0.3.0", path = "./common" }
odilia-cache = { version = "0.3.0", path = "./cache" }
eyre = "0.6.8"
Expand Down
1 change: 0 additions & 1 deletion cache/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ serde = "1.0.147"
tokio.workspace = true
tracing.workspace = true
zbus.workspace = true
async-trait = "0.1.64"
fxhash = "0.2.1"
smartstring = { version = "1.0.1", features = ["serde"] }

Expand Down
2 changes: 1 addition & 1 deletion cache/benches/wcag_cache_items.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion cache/benches/zbus_docs_cache_items.json

Large diffs are not rendered by default.

Loading

0 comments on commit 23797bd

Please sign in to comment.