Skip to content

Commit 67ea836

Browse files
1313Copilot
andcommitted
Release v6.0.1
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ad19221 commit 67ea836

6 files changed

Lines changed: 8 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [6.0.1] - 2026-05-20
11+
12+
- Clippy hygiene sweep: cleared all `-D warnings` lints across the crate. No public API change.
13+
1014
## [6.0.0] - 2026-05-18
1115

1216
### Changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "screencapturekit"
3-
version = "6.0.0"
3+
version = "6.0.1"
44
edition = "2021"
55
license = "MIT OR Apache-2.0"
66
homepage = "https://github.com/doom-fish/screencapturekit-rs"

examples/01_basic_capture.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
5353
}
5454

5555
// 3. Configure stream (how to capture)
56-
let mut config = SCStreamConfiguration::new()
56+
let config = SCStreamConfiguration::new()
5757
.with_width(1920)
5858
.with_height(1080)
5959
.with_pixel_format(PixelFormat::BGRA)

examples/07_list_content.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fn print_display_scale_info(content: &SCShareableContent, display: &DisplaySnaps
7878
}
7979

8080
#[cfg(not(feature = "macos_14_0"))]
81-
fn print_display_scale_info(_content: &SCShareableContent, _display: &DisplaySnapshot) {}
81+
const fn print_display_scale_info(_content: &SCShareableContent, _display: &DisplaySnapshot) {}
8282

8383
fn print_windows(applications: &[ApplicationSnapshot], windows: &[WindowSnapshot]) {
8484
println!("\n🪟 Windows (showing first 10 of {}):", windows.len());

tests/content_filter_tests.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
//! `SCContentFilter` tests
22
3-
use screencapturekit::cg::CGRect;
43
use screencapturekit::shareable_content::SCShareableContent;
54
use screencapturekit::stream::content_filter::SCContentFilter;
65

tests/coverage_gap_tests.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
//! capture is in flight, which exercises the `RwLock<Vec<HandlerEntry>>`
1818
//! write path against an active dispatch reader.
1919
20-
use screencapturekit::cm::{CMSampleBufferExt, CMSampleBufferSCExt};
20+
use screencapturekit::cm::CMSampleBufferExt;
2121
use screencapturekit::{
2222
cm::CMSampleBuffer,
2323
shareable_content::SCShareableContent,

0 commit comments

Comments
 (0)