From 27004a8738c7a3c32ac4fb6966f32647b4c96db7 Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 26 Apr 2026 17:55:48 +0200 Subject: docs: rework documentation, prepare pre-release Signed-off-by: Henry --- crates/types/Cargo.toml | 3 ++- crates/types/README.md | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'crates/types') diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index 77e0be7..9f2dc8c 100644 --- a/crates/types/Cargo.toml +++ b/crates/types/Cargo.toml @@ -1,7 +1,7 @@ [package] name="tinywasm-types" version.workspace=true -description="TinyWasm types" +description="Shared runtime, module, and archive types for TinyWasm" edition.workspace=true license.workspace=true authors.workspace=true @@ -9,6 +9,7 @@ repository.workspace=true rust-version.workspace=true keywords.workspace=true categories.workspace=true +readme="README.md" [dependencies] log={workspace=true, optional=true} diff --git a/crates/types/README.md b/crates/types/README.md index 5a4431e..315a340 100644 --- a/crates/types/README.md +++ b/crates/types/README.md @@ -1,3 +1,5 @@ # `tinywasm-types` -This crate contains the types used by the [`tinywasm`](https://crates.io/crates/tinywasm) crate. It is also used by the [`tinywasm-parser`](https://crates.io/crates/tinywasm-parser) crate to parse WebAssembly binaries. +This crate contains the shared module, instruction, value, and archive types used by [`tinywasm`](https://crates.io/crates/tinywasm) and [`tinywasm-parser`](https://crates.io/crates/tinywasm-parser). + +Most users should depend on `tinywasm` directly. This crate is useful when you need to work with parsed modules, serialized `twasm` archives, or shared type definitions without pulling in the runtime. -- cgit v1.3.1