Docs.rs
wit-parser-0.221.2
wit-parser 0.221.2
Docs.rs crate page
Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
Links
Homepage
Repository
crates.io
Source
Owners
alexcrichton
github:bytecodealliance:wasmtime-publish
Dependencies
anyhow ^1.0.58
normal
id-arena ^2
normal
indexmap ^2.0.0
normal
log ^0.4.17
normal
semver ^1.0.0
normal
serde ^1.0.166
normal
optional
serde_derive ^1.0.166
normal
optional
serde_json ^1
normal
optional
unicode-xid ^0.2.2
normal
wasmparser ^0.221.2
normal
optional
wat ^1.221.2
normal
optional
env_logger ^0.11
dev
libtest-mimic ^0.7.0
dev
pretty_assertions ^1.3.0
dev
serde_json ^1
dev
Versions
46.58%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
wit_
parser
0.221.2
wit_parser
Function
validate_id
Copy item path
Source
pub fn validate_id(s: &
str
) ->
Result
<
()
>
Expand description
Checks if the given string is a legal identifier in wit.