diff options
-rw-r--r-- | Cargo.toml | 2 | ||||
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | src/lib.rs | 2 |
3 files changed, 10 insertions, 3 deletions
@@ -20,7 +20,7 @@ license = "MIT" build = "build.rs" [features] -default = [] +default = ["performance-counter"] performance-counter = ["phf", "phf_codegen", "csv", "serde_json"] [[test]] @@ -16,5 +16,12 @@ Currently supports This library depends on libcore so it can be used in kernel level code. +## Features + + * performance-counter: Includes the performance counter information. Note this feature + can increase compilation time significantly due to large statically generated hash-tables + that are included in the source. In case you do not need performance-counter information + you can disable it using: `cargo build --no-default-features` + ## Documentation - * [API Documentation](http://gz.github.io/rust-x86/x86/)
\ No newline at end of file + * [API Documentation](http://gz.github.io/rust-x86/x86/) @@ -1,4 +1,4 @@ -#![feature(no_std, core_str_ext, core_slice_ext, const_fn)] +#![feature(const_fn)] #![feature(asm)] #![no_std] #![cfg_attr(test, allow(unused_features))] |