stanislav-tkach / os_info

Rust library to detect the operating system type
MIT License
171 stars 51 forks source link

Add Support for Ultramarine Linux #359

Closed 8bitZeta closed 7 months ago

8bitZeta commented 8 months ago

Just adding support for Ultramarine Linux. It's a Linux distro based on Fedora.

Please let me know if anything needs to be adjusted.

nothingneko commented 8 months ago

Thanks so much for doing this for us! It'll be nice to have this available!

stanislav-tkach commented 7 months ago

Sorry for the late reply and thank you for the pull request!

ydirson commented 7 months ago

I currently have build failures of master related to this, there are a few bits missing from that PR:

error[E0599]: no variant or associated item named `Ultramarine` found for enum `Type` in the current scope
   --> os_info/src/linux/file_release.rs:137:49
    |
137 |                     "ultramarine" => Some(Type::Ultramarine),
    |                                                 ^^^^^^^^^^^ variant or associated item not found in `Type`
    |
   ::: os_info/src/os_type.rs:8:1
    |
8   | pub enum Type {
    | ------------- variant or associated item `Ultramarine` not found for this enum