Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,29 @@ edition = "2018"
repository = "https://github.com/rust-xed/xed-sys"
readme = "README.md"
keywords = ["xed", "intel", "x86", "x86_64"]
categories = ["encoding", "external-ffi-bindings", "hardware-support", "parsing"]
categories = ["encoding", "external-ffi-bindings", "hardware-support", "parsing", "no_std"]

[badges]
appveyor = { repository = "rust-xed/xed-sys" }
travis-ci = { repository = "rust-xed/xed-sys" }

[features]
# Enable the enc2 module of XED.
#
# Note that this will somewhat dramatically slow down compilation of xed-sys.
# The enc2 module involves a large amount of generated code and the resulting
# bindgen definitions contain 40+MB of rust code.
enc2 = ["bindgen"]

# Generate bindings with bindgen at build-time instead of using the
# pregenerated bindings.
#
# This will be slower but is required for certain feature combinations.
bindgen = ["dep:bindgen"]

[dependencies]

[build-dependencies]
bindgen = "0.69"
bindgen = { version = "0.69", optional = true, features = ["experimental"] }
cc = "1.0"
target-lexicon = "0.12"

[workspace]
members = [
".",
"build-tools"
]
1 change: 0 additions & 1 deletion build-tools/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions build-tools/Cargo.toml

This file was deleted.

43 changes: 0 additions & 43 deletions build-tools/build-c2rust-bindings

This file was deleted.

97 changes: 0 additions & 97 deletions build-tools/src/bin/build-xed.rs

This file was deleted.

42 changes: 0 additions & 42 deletions build-tools/src/bin/remove-methods.rs

This file was deleted.

2 changes: 0 additions & 2 deletions build-tools/xed.c

This file was deleted.

Loading