CapSoftware / scap

High-performance, cross-platform screen capture library in Rust.
https://crates.io/crates/scap
Other
231 stars 44 forks source link

Improve the API structure in lib.rs #7

Closed clearlysid closed 1 year ago

clearlysid commented 1 year ago

Current I'm using a #[cfg(target_os = "...")] to run different functions based on OS. This is not an ideal approach. I need to spend some time in understanding how other cross-platform crates handle this and rework this to be more robust and extensible.

clearlysid commented 1 year ago

In progress #16