Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(interface-types) Implement the WAT decoder #1232

Merged
merged 11 commits into from
Feb 21, 2020
3 changes: 2 additions & 1 deletion lib/interface-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ repository = "https://github.com/wasmerio/wasmer"
edition = "2018"

[dependencies]
nom = "5.1"
nom = "5.1"
wast = "8.0"
2 changes: 1 addition & 1 deletion lib/interface-types/src/ast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ pub struct Forward<'input> {

/// Represents a set of interfaces, i.e. it entirely describes a WIT
/// definition.
#[derive(PartialEq, Debug)]
#[derive(PartialEq, Default, Debug)]
pub struct Interfaces<'input> {
/// All the exported functions.
pub exports: Vec<Export<'input>>,
Expand Down
1 change: 1 addition & 0 deletions lib/interface-types/src/decoders/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
//! `decoders::binary` reads the AST from a binary.

pub mod binary;
pub mod wat;
Loading