Skip to content

Commit

Permalink
0.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
stanislav-tkach committed Dec 13, 2017
1 parent b22c419 commit a4ba18c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "os_info"
version = "0.4.0"
version = "0.5.0"
authors = ["Jan Schulte <[email protected]>", "Stanislav Tkach <[email protected]>"]
description = "Detect the operating system type and version."
documentation = "https://docs.rs/os_info"
Expand Down
7 changes: 6 additions & 1 deletion Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ All notable changes to this project will be documented in this file.

## [Unreleased]

## [0.3.0](https://github.com/darkeld3r/os_info/tree/v0.4.0) (2017-11-12)
## [0.5.0](https://github.com/darkeld3r/os_info/tree/v0.5.0) (2017-12-13)

- Windows support (#45).
- Fedora support (#46).

## [0.4.0](https://github.com/darkeld3r/os_info/tree/v0.4.0) (2017-11-12)

- Redox support (untested).

Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@

Library for detecting the operating system type and version.

Based on [os_type](https://github.com/schultyy/os_type) by Jan Schulte. The main difference of `os_info` is that this library separates completely incompatible operating systems by conditional compilation.
Based on [os_type](https://github.com/schultyy/os_type) by Jan Schulte. The main difference of `os_info` is that this library separates completely incompatible operating systems by conditional compilation and uses specific system API whenever is possible.

## Usage

To use this crate, add `os_info` as a dependency to your project's Cargo.toml:

```toml
[dependencies]
os_info = "0.4.0"
os_info = "0.5.0"
```

## Example
Expand All @@ -39,11 +39,13 @@ Right now, the following operating system types can be returned:
- Unknown
- Redhat
- CentOS
- Fedora
- OSX
- Ubuntu
- Debian
- Arch
- Redox
- Windows

If you need support for more OS types, I am looking forward to your Pull Request.

Expand Down

0 comments on commit a4ba18c

Please sign in to comment.