3 releases
new 0.1.2 | Feb 14, 2025 |
---|---|
0.1.1 | Feb 11, 2025 |
0.1.0 | Feb 11, 2025 |
#115 in No standard library
300 downloads per month
6KB
63 lines
📖 Table of Contents
Dependencies and requirements
This library has no external nor prior dependency and can run under no_std
environments.
Getting Started
Just add the library to your project
cargo add is_wine
Import it and that's it!
Usage
Here is an example usage of is_wine
let is_wine = is_wine(); // Returns true under wine, false elsewise, panics on failure.
let is_wine = is_wine_lax(); // Returns true under wine, false elsewise or on failure.
let is_wine = try_is_wine(); // Returns a type-safe result.
Acknowledgement
After a rapid check on crates.io I noticed there is a similar crate performing the same task:
- winecheck (Rust)
If you find it useful please support it too!
Side notes
Please keep in mind that at the moment this is a side project developed with no planned continuity nor schedule. Therefore support, fixes and new features can not be guaranteed.
As stated in the LICENSE, no contributor must be considered liable for the use of this project.
Dependencies
~126MB
~2M SLoC