wiggle: add support for async traits; ABI func is now generic of ctx
* ctx parameter no longer accepted by wiggle::from_witx macro. * optional async_ parameter specifies which functions are async. * re-export async_trait::async_trait, so users don't have to take a dep.
This commit is contained in:
@@ -6,8 +6,10 @@ use std::slice;
|
||||
use std::str;
|
||||
use std::sync::Arc;
|
||||
|
||||
pub use bitflags;
|
||||
pub use wiggle_macro::from_witx;
|
||||
// re-exports so users of wiggle don't need to track the dependency:
|
||||
pub use async_trait::async_trait;
|
||||
pub use bitflags;
|
||||
|
||||
#[cfg(feature = "wiggle_metadata")]
|
||||
pub use witx;
|
||||
|
||||
Reference in New Issue
Block a user