screencapturekit 1.0.0

ScreenCaptureKit bindings for rust
[dependencies]

[dev-dependencies.png]
version = "0.17"

[dev-dependencies.tokio]
features = ["sync", "rt", "rt-multi-thread", "macros", "test-util"]
version = "1.40"

[[example]]
name = "01_basic_capture"
path = "examples/01_basic_capture.rs"

[[example]]
name = "02_window_capture"
path = "examples/02_window_capture.rs"

[[example]]
name = "03_audio_capture"
path = "examples/03_audio_capture.rs"

[[example]]
name = "04_pixel_access"
path = "examples/04_pixel_access.rs"

[[example]]
name = "05_screenshot"
path = "examples/05_screenshot.rs"

[[example]]
name = "06_iosurface"
path = "examples/06_iosurface.rs"

[[example]]
name = "07_list_content"
path = "examples/07_list_content.rs"

[[example]]
name = "08_async"
path = "examples/08_async.rs"

[[example]]
name = "09_closure_handlers"
path = "examples/09_closure_handlers.rs"

[[example]]
name = "10_recording_output"
path = "examples/10_recording_output.rs"

[[example]]
name = "11_content_picker"
path = "examples/11_content_picker.rs"

[features]
async = []
cargo-clippy = []
default = []
macos_13_0 = []
macos_14_0 = ["macos_13_0"]
macos_14_2 = ["macos_14_0"]
macos_14_4 = ["macos_14_2"]
macos_15_0 = ["macos_14_4"]

[lib]
crate-type = ["lib"]
name = "screencapturekit"
path = "src/lib.rs"

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[package]
authors = ["Per Johansson <per.johansson@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = "build.rs"
categories = ["multimedia", "os::macos-apis"]
description = "ScreenCaptureKit bindings for rust"
edition = "2021"
homepage = "https://github.com/svtlabs/screencapturekit-rs"
keywords = ["screencapturekit", "screen", "capture", "macos"]
license = "MIT OR Apache-2.0"
name = "screencapturekit"
readme = "README.md"
repository = "https://github.com/svtlabs/screencapturekit-rs"
rust-version = "1.70"
version = "1.0.0"

[[test]]
name = "audio_buffer_tests"
path = "tests/audio_buffer_tests.rs"

[[test]]
name = "audio_video_capture"
path = "tests/audio_video_capture.rs"

[[test]]
name = "block_buffer_tests"
path = "tests/block_buffer_tests.rs"

[[test]]
name = "cg_types_tests"
path = "tests/cg_types_tests.rs"

[[test]]
name = "cm_types_tests"
path = "tests/cm_types_tests.rs"

[[test]]
name = "configuration_tests"
path = "tests/configuration_tests.rs"

[[test]]
name = "content_filter_tests"
path = "tests/content_filter_tests.rs"

[[test]]
name = "content_sharing_picker_tests"
path = "tests/content_sharing_picker_tests.rs"

[[test]]
name = "delegate_trait_tests"
path = "tests/delegate_trait_tests.rs"

[[test]]
name = "dispatch_queue_tests"
path = "tests/dispatch_queue_tests.rs"

[[test]]
name = "eq_hash_tests"
path = "tests/eq_hash_tests.rs"

[[test]]
name = "error_tests"
path = "tests/error_tests.rs"

[[test]]
name = "format_description_tests"
path = "tests/format_description_tests.rs"

[[test]]
name = "fourcharcode_tests"
path = "tests/fourcharcode_tests.rs"

[[test]]
name = "frame_status_tests"
path = "tests/frame_status_tests.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[[test]]
name = "leak_test"
path = "tests/leak_test.rs"

[[test]]
name = "picker_tests"
path = "tests/picker_tests.rs"

[[test]]
name = "recording_output_tests"
path = "tests/recording_output_tests.rs"

[[test]]
name = "screenshot_manager_tests"
path = "tests/screenshot_manager_tests.rs"

[[test]]
name = "stream_lifecycle_tests"
path = "tests/stream_lifecycle_tests.rs"