l1npengtul / nokhwa

Cross Platform Rust Library for Powerful Webcam/Camera Capture
Apache License 2.0
502 stars 121 forks source link

Simplify workspace paths (0.10) #119

Closed michivi closed 1 year ago

michivi commented 1 year ago

This PR simplifies the local dependencies' paths to stay within the project's hierarchy. This is required if the project was cloned in a local folder not named nokhwa. Otherwise, cargo cannot properly find the workspace's projects and fails (this was my case as I'm using Nix and crane which fails to properly download and validate nokhwa due to this).

I don't know if 0.10 is still maintain. I'm just pushing this here as I'm still using 0.10. #120 is the same but for the senpai branch.