forked from gz/rust-x86
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
47 lines (38 loc) · 1.27 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
name = "x86"
version = "0.7.0"
authors = [
"Gerd Zellweger <mail@gerdzellweger.com>",
"Eric Kidd <git@randomhacks.net>",
"Philipp Oppermann <dev@phil-opp.com>",
"Dan Schatzberg <schatzberg.dan@gmail.com>",
"John Ericson <John_Ericson@Yahoo.com>"
]
description = "Library to program x86 (amd64) hardware. Contains x86 specific data structure descriptions, data-tables, as well as convenience function to call assembly instructions typically not exposed in higher level languages."
homepage = "https://github.com/gz/rust-x86"
repository = "https://github.com/gz/rust-x86"
documentation = "http://gz.github.io/rust-x86/x86/"
readme = "README.md"
keywords = ["ia32", "os", "amd64", "x86", "x86-64"]
license = "MIT"
build = "build.rs"
[features]
default = ["performance-counter"]
performance-counter = ["phf", "phf_codegen", "csv", "serde_json"]
[[test]]
name = "no_std_build"
harness = false
[[test]]
name = "kvm"
path = "tests/kvm/bin.rs"
[build-dependencies]
phf_codegen = { version = "0.7.7", optional = true }
csv = { version = "0.14.3", optional = true }
serde_json = { version = "0.6.0", optional = true }
[dependencies]
bitflags = "0.7"
raw-cpuid = "2.*"
phf = { version = "0.7.7", optional = true, features = ["core"] }
[dev-dependencies]
kvm = "0.2"
memmap = "0.2.1"