Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to SCTK 0.18.0 #47

Merged
merged 1 commit into from
Oct 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@ jobs:
- uses: hecrj/setup-rust-action@v1
with:
rust-version: ${{ matrix.rust_version }}
components: clippy

- name: Check documentation
run: cargo doc --no-deps --document-private-items
- name: Install system dependencies
run: sudo apt-get install libxkbcommon-dev libwayland-dev

- name: Run tests
run: cargo test --verbose

- name: Clippy
run: cargo clippy -- -D warnings

- name: Check documentation
run: cargo doc --no-deps --document-private-items
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## Unreleased

- Update SCTK to 0.18
- Fix active polling of the clipboard each 50ms
- Fix freeze when copying data larger than the pipe buffer size

## 0.6.6 -- 2022-06-20

- Update SCTK to 0.16
Expand Down
13 changes: 7 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[package]
name = "smithay-clipboard"
version = "0.6.6"
authors = ["Kirill Chibisov <[email protected]>", "Victor Berger <[email protected]>", "Lucas Timmins <[email protected]>"]
edition = "2018"
authors = ["Kirill Chibisov <[email protected]>", "Victor Berger <[email protected]>"]
edition = "2021"
description = "Provides access to the wayland clipboard for client applications."
repository = "https://github.com/smithay/smithay-clipboard"
documentation = "https://smithay.github.io/smithay-clipboard"
Expand All @@ -11,12 +11,13 @@ keywords = ["clipboard", "wayland"]
rust-version = "1.65.0"

[dependencies]
sctk = { package = "smithay-client-toolkit", version = "0.16", default-features = false }
wayland-client = { version = "0.29", features = ["use_system_lib"] }
libc = "0.2.149"
sctk = { package = "smithay-client-toolkit", version = "0.18.0", default-features = false, features = ["calloop"] }
wayland-backend = { version = "0.3.0", default_features = false, features = ["client_system"] }

[dev-dependencies]
sctk = { package = "smithay-client-toolkit", version = "0.16", default-features = false, features = ["calloop"] }
sctk = { package = "smithay-client-toolkit", version = "0.18.0", default-features = false, features = ["calloop", "xkbcommon"] }

[features]
default = ["dlopen"]
dlopen = ["sctk/dlopen", "wayland-client/dlopen"]
dlopen = ["wayland-backend/dlopen" ]
Loading