feat(interface-types) Replace nom by wast for decoding WIT's text format.

This commit is contained in:
Ivan Enderlin
2020-02-20 12:15:23 +01:00
parent e90365beb1
commit 9b98a211cd
3 changed files with 420 additions and 328 deletions

View File

@ -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>>,