mirror of
https://github.com/fluencelabs/interface-types
synced 2025-07-06 01:51:46 +00:00
Merge #1370
1370: feat(interface-types) Crate reorganization r=Hywan a=Hywan This PR re-organizes the crate: * `interpreter/wasm/values.rs` moves to `values.rs`, * `interpreter/wasm/serde/*` moves to `serde/*`, * `types.rs` is new, and includes `InterfaceType` and `RecordType`, * Update the documentation. Bonus: `InterfaceValue::Record` now takes a `Vec1` rather than a `Vec` to match `InterfaceType::Record`. Co-authored-by: Ivan Enderlin <ivan@mnt.io>
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
//! Writes the AST into bytes representing WIT with its binary format.
|
||||
|
||||
use crate::{ast::*, interpreter::Instruction};
|
||||
use crate::{ast::*, interpreter::Instruction, types::*};
|
||||
use std::io::{self, Write};
|
||||
|
||||
/// A trait for converting a value to bytes.
|
||||
|
Reference in New Issue
Block a user