Skip to content
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
- Added `Buffer::pixels_iter()` for iterating over each pixel with its associated `x`/`y` coordinate.
- **Breaking:** Removed generic type parameters `D` and `W` from `Buffer<'_>` struct.
- **Breaking:** Removed `Deref[Mut]` implementation on `Buffer<'_>`. Use `Buffer::pixels()` instead.
- **Breaking:** Removed unintentional Cargo features for Softbuffer's optional dependencies.

# 0.4.7

Expand Down
26 changes: 13 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ default = ["wayland", "wayland-dlopen", "x11", "x11-dlopen", "kms"]

# Enable the Wayland backend.
wayland = [
"wayland-backend",
"wayland-client",
"wayland-sys",
"memmap2",
"rustix",
"fastrand",
"dep:wayland-backend",
"dep:wayland-client",
"dep:wayland-sys",
"dep:memmap2",
"dep:rustix",
"dep:fastrand",
# Only used as a dev-dependency.
"winit/wayland",
"winit/wayland-csd-adwaita",
Expand All @@ -33,19 +33,19 @@ wayland-dlopen = ["wayland-sys/dlopen", "winit/wayland-dlopen"]

# Enable the X11 backend.
x11 = [
"as-raw-xcb-connection",
"bytemuck",
"fastrand",
"rustix",
"tiny-xlib",
"x11rb",
"dep:as-raw-xcb-connection",
"dep:bytemuck",
"dep:fastrand",
"dep:rustix",
"dep:tiny-xlib",
"dep:x11rb",
# Only used as a dev-dependency.
"winit/x11",
]
x11-dlopen = ["tiny-xlib/dlopen", "x11rb/dl-libxcb"]

# Enable the KMS/DRM backend.
kms = ["bytemuck", "drm", "rustix"]
kms = ["dep:bytemuck", "dep:drm", "dep:rustix"]

# Common dependencies.
[dependencies]
Expand Down