-
Notifications
You must be signed in to change notification settings - Fork 60
/
Cargo.toml
70 lines (61 loc) · 2.21 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "x86"
version = "0.52.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>",
"Rex Lunae <rexlunae@gmail.com>",
"Brian Martin <bmartin@twitter.com>",
"Caleb Boylan <calebboylan@gmail.com>",
"Nikolay Edigaryev <edigaryev@gmail.com>",
"Stefan Lankes <stlankes@eonerc.rwth-aachen.de>",
"Jonathan Klimt <jonathan.klimt@rwth-aachen.de>",
"Jens Breitbart <jbreitbart@gmail.com>",
"Reto Achermann <achreto@gmail.com>",
"lilasta <lilaceous@proton.me>",
"Vikram Narayanan <vikram186@gmail.com>",
"Dan Cross <cross@gajendra.net>",
"Yuekai Jia <equation618@gmail.com>",
"Lucas Kent <rubickent@gmail.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 = "https://docs.rs/x86"
readme = "README.md"
keywords = ["ia32", "os", "amd64", "x86", "x86-64"]
license = "MIT"
build = "build.rs"
edition = '2018'
exclude = ["./.github/*"]
[features]
performance-counter = ["phf", "phf_codegen", "csv", "serde_json"]
# Note we have to choose between regular tests and x86test at the moment, so we use features
# (limitation in https://github.com/rust-lang/rust/issues/50297)
# Run user-space tests, i.e. regular #[test]
utest = []
# Run VM tests, i.e., the #[x86test] ones
vmtest = []
unstable = []
[[test]]
name = "kvm"
path = "tests/kvm/bin.rs"
[build-dependencies]
phf_codegen = { version = "0.9.0", optional = true }
csv = { version = "1.1.5", optional = true }
serde_json = { version = "1.0.61", optional = true }
[dependencies]
bitflags = "1.*"
bit_field = "0.10.1"
raw-cpuid = "10.2.0"
[dependencies.phf]
version = "0.9.0"
default-features = false # So phf uses libcore instead of libstd
optional = true
[target.'cfg(target_family = "unix")'.dev-dependencies]
klogger = { version = "0.0.14", features = ["use_ioports"] }
x86test = { path = "x86test" }
libc = "0.2.*"