wiggle: depend on bitflags, and re-export it.

This commit is contained in:
Pat Hickey
2021-01-11 18:04:43 -08:00
parent 94467bcd9a
commit e2fb99af86
3 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View File

@@ -2815,6 +2815,7 @@ dependencies = [
name = "wiggle" name = "wiggle"
version = "0.22.0" version = "0.22.0"
dependencies = [ dependencies = [
"bitflags",
"proptest", "proptest",
"thiserror", "thiserror",
"tracing", "tracing",

View File

@@ -15,6 +15,7 @@ thiserror = "1"
witx = { path = "../wasi-common/WASI/tools/witx", version = "0.8.7", optional = true } witx = { path = "../wasi-common/WASI/tools/witx", version = "0.8.7", optional = true }
wiggle-macro = { path = "macro", version = "0.22.0" } wiggle-macro = { path = "macro", version = "0.22.0" }
tracing = "0.1.15" tracing = "0.1.15"
bitflags = "1.2"
[badges] [badges]
maintenance = { status = "actively-developed" } maintenance = { status = "actively-developed" }

View File

@@ -6,6 +6,7 @@ use std::slice;
use std::str; use std::str;
use std::sync::Arc; use std::sync::Arc;
pub use bitflags;
pub use wiggle_macro::from_witx; pub use wiggle_macro::from_witx;
#[cfg(feature = "wiggle_metadata")] #[cfg(feature = "wiggle_metadata")]