Skip to content

Commit

Permalink
Update formatting in cpuid binary.
Browse files Browse the repository at this point in the history
  • Loading branch information
gz committed Jul 31, 2021
1 parent 676dbd1 commit aaaa6e6
Show file tree
Hide file tree
Showing 3 changed files with 1,102 additions and 739 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ 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]

## [10.2.0] - 2021-07-30

### Added

- Fix Cache and TLB (leaf 0x02) formatting in cpuid binary.

## Changed

- Added JSON and raw formatting to cpuid binary.

## [10.1.0] - 2021-07-30

### Added
Expand Down
8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
authors = ["Gerd Zellweger <[email protected]>"]
edition = "2018"
name = "raw-cpuid"
version = "10.1.0"
version = "10.2.0"

description = "A library to parse the x86 CPUID instruction, written in rust with no external dependencies. The implementation closely resembles the Intel CPUID manual description. The library does only depend on libcore."
documentation = "https://docs.rs/raw-cpuid/"
Expand All @@ -20,14 +20,16 @@ required-features = ["cli"]

[features]
serialize = ["serde", "serde_derive"]
# This is not a public feature and should only be used by the cpuid binary:
cli = ["termimad"]
# This is not a library feature and should only be used to install the cpuid binary:
cli = ["termimad", "clap", "serde_json", "serialize"]

[dependencies]
bitflags = "1.2"
serde = {version = "1.0", default-features = false, optional = true}
serde_derive = {version = "1.0", optional = true}
serde_json = {version = "1.0", optional = true}
termimad = {version = "0.14", optional = true}
clap = { version = "~3.0.0-beta.2", optional = true }

[target.'cfg(unix)'.dev-dependencies]
core_affinity = "0.5.10"
Expand Down
Loading

0 comments on commit aaaa6e6

Please sign in to comment.