summaryrefslogtreecommitdiff
path: root/crates/types
diff options
context:
space:
mode:
Diffstat (limited to 'crates/types')
-rw-r--r--crates/types/Cargo.toml3
-rw-r--r--crates/types/README.md4
2 files changed, 5 insertions, 2 deletions
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.