Skip to main content

Crate parsio

Crate parsio 

Source
Expand description

§parsio

Crates.io docs.rs

§Description

Parser-related utilities. Mostly a Read and a Write implementation, suitable for zero-copy environments.

This makes use of quite a bit of unsafe for speed purposes.

See the docs to see if it fits you.

As an example on how to use this crate, you can check out seabored. As a matter of fact, this crate contains & extracts the I/O traits developed for seabored.

§AI Disclaimer

Unlike a lot of things being created currently, this library was written WITHOUT the use of any LLM.

§License

Licensed under either of these:

Structs§

DepthAwareReader
Depth-aware wrapper around a Read implementation. If you care about billion-laughs attacks, then you should use it.
DepthAwareReaderGuard
Guard that decredements the current depth when dropped
StdReader
Wrapper around any std::io::Read type, necessary not to conflict with the implementation on [&[u8]]
StdWriter
Wrapper around any std::io::Write implementer

Enums§

ReadError
WriteError

Traits§

Read
Write

Type Aliases§

ReadResult
WriteResult