docs.rs failed to build host_discovery-1.3.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
host_discovery-2.1.9
A simple Rust crate for host discovery
Make more decisions based on the characteristics of the environment you are working in.
Basic Usage
-
API
- fn
detect_os: Returns a variant of OperatingSystem - fn
detect_arch: Returns a variant of Architecture - fn
cpu_cores: Returns a u32 representing the CPU core count - fn
cpu_model: Returns a String containing the name of the CPU model - fn
detect_distro: Returns a String containing the name of the running Linux distribution - fn
detect_distro_version: Returns a String containing the version id of the running Linux distribution - fn
is_subsystem_env: Returns a boolean based on whether the Linux environment is a Windows subsystem - fn
lookup_windows_editionReturns a String containing the Windows edition via the registry - fn
lookup_product_nameReturns a String containing the version & edition of Windows via the registry
- fn
-
Add to your project