Skip to content

Commit

Permalink
Release v0.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
svartalf committed Aug 8, 2019
1 parent 99c653b commit 42b3b0b
Show file tree
Hide file tree
Showing 34 changed files with 71 additions and 69 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]
## [0.0.6] - 2019-08-08

### Added

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim.svg)](https://crates.io/crates/heim)
[![Latest Version](https://docs.rs/heim/badge.svg)](https://docs.rs/heim)
[![dependency status](https://deps.rs/crate/heim/0.0.5/status.svg)](https://deps.rs/crate/heim/0.0.5)
[![dependency status](https://deps.rs/crate/heim/0.0.6/status.svg)](https://deps.rs/crate/heim/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
[![Coverage Status](https://coveralls.io/repos/github/heim-rs/heim/badge.svg?branch=master)](https://coveralls.io/github/heim-rs/heim?branch=master)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.36+-green.svg)
Expand Down
6 changes: 3 additions & 3 deletions heim-common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heim-common"
version = "0.0.5"
version = "0.0.6"
authors = ["svartalf <[email protected]>"]
edition = "2018"
description = "Common stuff shared across heim project crates"
Expand All @@ -12,10 +12,10 @@ license = "Apache-2.0 OR MIT"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs", pipeline = "heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[dependencies]
heim-derive = { version = "0.0.5", path = "../heim-derive" }
heim-derive = { version = "0.0.6", path = "../heim-derive" }
cfg-if = "0.1.7"
futures-preview = "0.3.0-alpha.17"

Expand Down
2 changes: 1 addition & 1 deletion heim-common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim-common.svg)](https://crates.io/crates/heim-common)
[![Latest Version](https://docs.rs/heim/badge.svg)](https://docs.rs/heim-common)
[![dependency status](https://deps.rs/crate/heim-common/0.0.5/status.svg)](https://deps.rs/crate/heim-common/0.0.5)
[![dependency status](https://deps.rs/crate/heim-common/0.0.6/status.svg)](https://deps.rs/crate/heim-common/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
![Minimum rustc version](https://img.shields.io/badge/rustc-1.36+-green.svg)
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
Expand Down
2 changes: 1 addition & 1 deletion heim-common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! Do **NOT** use it directly.

#![doc(html_root_url = "https://docs.rs/heim-common/0.0.5")]
#![doc(html_root_url = "https://docs.rs/heim-common/0.0.6")]
#![deny(
unused,
unused_imports,
Expand Down
8 changes: 4 additions & 4 deletions heim-cpu/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heim-cpu"
version = "0.0.5"
version = "0.0.6"
authors = ["svartalf <[email protected]>"]
edition = "2018"
description = "Cross-platform CPU information"
Expand All @@ -12,11 +12,11 @@ license = "Apache-2.0 OR MIT"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs", pipeline = "heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[dependencies]
heim-derive = { version = "0.0.5", path = "../heim-derive" }
heim-common = { version = "0.0.5", path = "../heim-common" }
heim-derive = { version = "0.0.6", path = "../heim-derive" }
heim-common = { version = "0.0.6", path = "../heim-common" }
heim-runtime = { version = "0.0.2", path = "../heim-runtime" }
lazy_static = "1.3.0"
cfg-if = "0.1.7"
Expand Down
2 changes: 1 addition & 1 deletion heim-cpu/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim-cpu.svg)](https://crates.io/crates/heim-cpu)
[![Latest Version](https://docs.rs/heim-cpu/badge.svg)](https://docs.rs/heim-cpu)
[![dependency status](https://deps.rs/crate/heim-cpu/0.0.5/status.svg)](https://deps.rs/crate/heim-cpu/0.0.5)
[![dependency status](https://deps.rs/crate/heim-cpu/0.0.6/status.svg)](https://deps.rs/crate/heim-cpu/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
[![Gitter](https://badges.gitter.im/heim-rs/heim.svg)](https://gitter.im/heim-rs/heim)
Expand Down
2 changes: 1 addition & 1 deletion heim-cpu/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! This module is enabled with the `cpu` feature flag (enabled by default).

#![doc(html_root_url = "https://docs.rs/heim-cpu/0.0.5")]
#![doc(html_root_url = "https://docs.rs/heim-cpu/0.0.6")]
#![deny(
unused,
unused_imports,
Expand Down
7 changes: 5 additions & 2 deletions heim-cpu/src/sys/windows/bindings/winternl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use std::ptr;
use std::mem;

use winapi::shared::{ntdef, minwindef};
use winapi::shared::{ntdef, minwindef, ntstatus};

use heim_common::prelude::*;
use heim_common::sys::windows as ntdll;
Expand Down Expand Up @@ -152,12 +152,15 @@ pub fn query_system_information<T>() -> Result<Vec<T>> where T: SystemInformatio
let buffer_length = proc_amount * mem::size_of::<T>();

unsafe {
ntdll::NtQuerySystemInformation(
let result = ntdll::NtQuerySystemInformation(
T::class(),
info.as_mut_ptr() as *mut _,
buffer_length as u32,
ptr::null_mut(),
)?;
if result != ntstatus::STATUS_SUCCESS {
return Err(Error::last_os_error())
}
info.set_len(proc_amount);
};

Expand Down
4 changes: 2 additions & 2 deletions heim-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heim-derive"
version = "0.0.5"
version = "0.0.6"
authors = ["svartalf <[email protected]>"]
edition = "2018"
description = "Derive macros for heim crates"
Expand All @@ -12,7 +12,7 @@ license = "Apache-2.0 OR MIT"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs", pipeline = "heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[lib]
proc-macro = true
Expand Down
2 changes: 1 addition & 1 deletion heim-derive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim-derive.svg)](https://crates.io/crates/heim-derive)
[![Latest Version](https://docs.rs/heim-derive/badge.svg)](https://docs.rs/heim-derive)
[![dependency status](https://deps.rs/crate/heim-derive/0.0.5/status.svg)](https://deps.rs/crate/heim-derive/0.0.5)
[![dependency status](https://deps.rs/crate/heim-derive/0.0.6/status.svg)](https://deps.rs/crate/heim-derive/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
[![Gitter](https://badges.gitter.im/heim-rs/heim.svg)](https://gitter.im/heim-rs/heim)
Expand Down
2 changes: 1 addition & 1 deletion heim-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! Do not use directly.

#![doc(html_root_url = "https://docs.rs/heim-derive/0.0.5")]
#![doc(html_root_url = "https://docs.rs/heim-derive/0.0.6")]
#![recursion_limit = "128"]
#![deny(
unused,
Expand Down
8 changes: 4 additions & 4 deletions heim-disk/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heim-disk"
version = "0.0.5"
version = "0.0.6"
authors = ["svartalf <[email protected]>"]
edition = "2018"
description = "Cross-platform disk information"
Expand All @@ -12,11 +12,11 @@ license = "Apache-2.0 OR MIT"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs", pipeline = "heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[dependencies]
heim-derive = { version = "0.0.5", path = "../heim-derive" }
heim-common = { version = "0.0.5", path = "../heim-common" }
heim-derive = { version = "0.0.6", path = "../heim-derive" }
heim-common = { version = "0.0.6", path = "../heim-common" }
heim-runtime = { version = "0.0.2", path = "../heim-runtime" }
cfg-if = "0.1.7"
bitflags = "1.0.4"
Expand Down
2 changes: 1 addition & 1 deletion heim-disk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim-disk.svg)](https://crates.io/crates/heim-disk)
[![Latest Version](https://docs.rs/heim-disk/badge.svg)](https://docs.rs/heim-disk)
[![dependency status](https://deps.rs/crate/heim-disk/0.0.5/status.svg)](https://deps.rs/crate/heim-disk/0.0.5)
[![dependency status](https://deps.rs/crate/heim-disk/0.0.6/status.svg)](https://deps.rs/crate/heim-disk/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
[![Gitter](https://badges.gitter.im/heim-rs/heim.svg)](https://gitter.im/heim-rs/heim)
Expand Down
2 changes: 1 addition & 1 deletion heim-disk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! This module is enabled with the `disk` feature flag (enabled by default).

#![doc(html_root_url = "https://docs.rs/heim-disk/0.0.5")]
#![doc(html_root_url = "https://docs.rs/heim-disk/0.0.6")]
#![deny(
unused,
unused_imports,
Expand Down
8 changes: 4 additions & 4 deletions heim-host/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heim-host"
version = "0.0.5"
version = "0.0.6"
authors = ["svartalf <[email protected]>"]
edition = "2018"
description = "Cross-platform host information"
Expand All @@ -13,11 +13,11 @@ build = "build.rs"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs", pipeline = "heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[dependencies]
heim-derive = { version = "0.0.5", path = "../heim-derive" }
heim-common = { version = "0.0.5", path = "../heim-common" }
heim-derive = { version = "0.0.6", path = "../heim-derive" }
heim-common = { version = "0.0.6", path = "../heim-common" }
heim-runtime = { version = "0.0.2", path = "../heim-runtime" }
cfg-if = "0.1.7"
platforms = "0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion heim-host/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim-host.svg)](https://crates.io/crates/heim-host)
[![Latest Version](https://docs.rs/heim-host/badge.svg)](https://docs.rs/heim-host)
[![dependency status](https://deps.rs/crate/heim-host/0.0.5/status.svg)](https://deps.rs/crate/heim-host/0.0.5)
[![dependency status](https://deps.rs/crate/heim-host/0.0.6/status.svg)](https://deps.rs/crate/heim-host/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
[![Gitter](https://badges.gitter.im/heim-rs/heim.svg)](https://gitter.im/heim-rs/heim)
Expand Down
2 changes: 1 addition & 1 deletion heim-host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! This module is enabled with the `host` feature flag (enabled by default).

#![doc(html_root_url = "https://docs.rs/heim-host/0.0.5")]
#![doc(html_root_url = "https://docs.rs/heim-host/0.0.6")]
#![deny(
unused,
unused_imports,
Expand Down
8 changes: 4 additions & 4 deletions heim-memory/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heim-memory"
version = "0.0.5"
version = "0.0.6"
authors = ["svartalf <[email protected]>"]
edition = "2018"
description = "Cross-platform memory information"
Expand All @@ -12,11 +12,11 @@ license = "Apache-2.0 OR MIT"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs", pipeline = "heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[dependencies]
heim-derive = { version = "0.0.5", path = "../heim-derive" }
heim-common = { version = "0.0.5", path = "../heim-common" }
heim-derive = { version = "0.0.6", path = "../heim-derive" }
heim-common = { version = "0.0.6", path = "../heim-common" }
heim-runtime = { version = "0.0.2", path = "../heim-runtime" }
cfg-if = "0.1.7"

Expand Down
2 changes: 1 addition & 1 deletion heim-memory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim-memory.svg)](https://crates.io/crates/heim-memory)
[![Latest Version](https://docs.rs/heim-memory/badge.svg)](https://docs.rs/heim-memory)
[![dependency status](https://deps.rs/crate/heim-memory/0.0.5/status.svg)](https://deps.rs/crate/heim-memory/0.0.5)
[![dependency status](https://deps.rs/crate/heim-memory/0.0.6/status.svg)](https://deps.rs/crate/heim-memory/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
[![Gitter](https://badges.gitter.im/heim-rs/heim.svg)](https://gitter.im/heim-rs/heim)
Expand Down
2 changes: 1 addition & 1 deletion heim-memory/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! This module is enabled with the `memory` feature flag (enabled by default).

#![doc(html_root_url = "https://docs.rs/heim-memory/0.0.5")]
#![doc(html_root_url = "https://docs.rs/heim-memory/0.0.6")]
#![deny(
unused,
unused_imports,
Expand Down
8 changes: 4 additions & 4 deletions heim-net/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heim-net"
version = "0.0.5"
version = "0.0.6"
authors = ["svartalf <[email protected]>"]
edition = "2018"
description = "Cross-platform network information"
Expand All @@ -12,11 +12,11 @@ license = "Apache-2.0 OR MIT"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs", pipeline = "heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[dependencies]
heim-derive = { version = "0.0.5", path = "../heim-derive" }
heim-common = { version = "0.0.5", path = "../heim-common" }
heim-derive = { version = "0.0.6", path = "../heim-derive" }
heim-common = { version = "0.0.6", path = "../heim-common" }
heim-runtime = { version = "0.0.2", path = "../heim-runtime" }
cfg-if = "0.1.7"
bitflags = "1.0.4"
Expand Down
2 changes: 1 addition & 1 deletion heim-net/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim-net.svg)](https://crates.io/crates/heim-net)
[![Latest Version](https://docs.rs/heim-net/badge.svg)](https://docs.rs/heim-net)
[![dependency status](https://deps.rs/crate/heim-net/0.0.5/status.svg)](https://deps.rs/crate/heim-net/0.0.5)
[![dependency status](https://deps.rs/crate/heim-net/0.0.6/status.svg)](https://deps.rs/crate/heim-net/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
[![Gitter](https://badges.gitter.im/heim-rs/heim.svg)](https://gitter.im/heim-rs/heim)
Expand Down
2 changes: 1 addition & 1 deletion heim-net/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! This module is enabled with the `net` feature flag (enabled by default).

#![doc(html_root_url = "https://docs.rs/heim-net/0.0.5")]
#![doc(html_root_url = "https://docs.rs/heim-net/0.0.6")]
#![deny(
unused,
unused_imports,
Expand Down
9 changes: 4 additions & 5 deletions heim-process/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "heim-process"
version = "0.0.5"
version = "0.0.6"
authors = ["svartalf <[email protected]>"]
edition = "2018"
description = "Cross-platform processes information"
Expand All @@ -12,11 +12,11 @@ license = "Apache-2.0 OR MIT"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim-rs", pipeline = "heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[dependencies]
heim-derive = { version = "0.0.5", path = "../heim-derive" }
heim-common = { version = "0.0.5", path = "../heim-common" }
heim-derive = { version = "0.0.6", path = "../heim-derive" }
heim-common = { version = "0.0.6", path = "../heim-common" }
heim-runtime = { version = "0.0.2", path = "../heim-runtime" }
cfg-if = "0.1.7"
libc = "0.2.58"
Expand Down Expand Up @@ -45,7 +45,6 @@ mach = "0.3.2"
[dev-dependencies]
runtime = "0.3.0-alpha.6"
version-sync = "0.8"
backtrace = "0.3"

[features]
runtime-polyfill = ["heim-runtime/runtime-polyfill"]
2 changes: 1 addition & 1 deletion heim-process/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![Latest Version](https://img.shields.io/crates/v/heim-process.svg)](https://crates.io/crates/heim-process)
[![Latest Version](https://docs.rs/heim-process/badge.svg)](https://docs.rs/heim-process)
[![dependency status](https://deps.rs/crate/heim-process/0.0.5/status.svg)](https://deps.rs/crate/heim-process/0.0.5)
[![dependency status](https://deps.rs/crate/heim-process/0.0.6/status.svg)](https://deps.rs/crate/heim-process/0.0.6)
[![Build Status](https://dev.azure.com/heim-rs/heim/_apis/build/status/heim-rs.heim?branchName=master)](https://dev.azure.com/heim-rs/heim/_build/latest?definitionId=1&branchName=master)
![Apache 2.0 OR MIT licensed](https://img.shields.io/badge/license-Apache2.0%2FMIT-blue.svg)
[![Gitter](https://badges.gitter.im/heim-rs/heim.svg)](https://gitter.im/heim-rs/heim)
Expand Down
2 changes: 1 addition & 1 deletion heim-process/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//!
//! This module is enabled with the `process` feature flag (enabled by default).

#![doc(html_root_url = "https://docs.rs/heim-process/0.0.5")]
#![doc(html_root_url = "https://docs.rs/heim-process/0.0.6")]
#![deny(
unused,
unused_imports,
Expand Down
2 changes: 1 addition & 1 deletion heim-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repository = "https://github.com/heim-rs/heim"
license = "Apache-2.0 OR MIT"

[dependencies]
heim-common = { version = "0.0.5", path = "../heim-common" }
heim-common = { version = "0.0.6", path = "../heim-common" }
cfg-if = "0.1.9"

# `runtime-polyfill` feature dependencies
Expand Down
2 changes: 1 addition & 1 deletion heim-sensors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ license = "Apache-2.0 OR MIT"

[badges]
maintenance = { status = "experimental" }
azure-devops = { project = "heim", pipeline = "heim-rs.heim" }
azure-devops = { project = "heim-rs/heim", pipeline = "heim-rs.heim" }

[dependencies]
Loading

0 comments on commit 42b3b0b

Please sign in to comment.