neoeinstein / aliri

Web API access control for Rust
Apache License 2.0
116 stars 19 forks source link

Unable to compile for Windows #99

Closed cozyGalvinism closed 5 months ago

cozyGalvinism commented 6 months ago

When compiling for a Windows target (like x86_64-pc-windows-gnu), aliri_tokens/src/sources/file.rs:40:14 is flagged up as a compilation error, since .mode() is only implemented on Unix systems and therefore doesn't exist in OpenOptions for Windows targets.

neoeinstein commented 6 months ago

Thanks for the report. I've put in a fix for this. I'll aim to get it merged in and a new version released for you.