MCPcopy Index your code
hub / github.com/carllerche/tokio-serde

github.com/carllerche/tokio-serde @v0.8.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.8.0 ↗ · + Follow
28 symbols 35 edges 3 files 6 documented · 21% updated 7mo ago★ 876 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Tokio Serialize / Deserialize

Utilities needed to easily implement a Tokio transport using serde for serialization and deserialization of frame values.

Documentation

Usage

To use tokio-serde, first add this to your Cargo.toml:

[dependencies]
tokio-serde = "0.8"

Next, add this to your crate:

use tokio_serde::{Serializer, Deserializer, Framed};

License

This project is licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in iovec by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Extension points exported contracts — how you extend this code

Serializer (Interface)
Serializes a value into a destination buffer Implementations of `Serializer` are able to take values of type `T` and co [4 …
src/lib.rs
Deserializer (Interface)
Deserializes a value from a source buffer Implementatinos of `Deserializer` take a byte buffer and return a value by pa [4 …
src/lib.rs

Core symbols most depended-on inside this repo

deserialize
called by 1
src/lib.rs
serialize
called by 1
src/lib.rs
new
called by 0
src/lib.rs
get_ref
called by 0
src/lib.rs
get_mut
called by 0
src/lib.rs
into_inner
called by 0
src/lib.rs
poll_next
called by 0
src/lib.rs
poll_ready
called by 0
src/lib.rs

Shape

Method 13
Function 7
Class 6
Interface 2

Languages

Rust100%

Modules by API surface

src/lib.rs26 symbols
examples/server.rs1 symbols
examples/client.rs1 symbols

For agents

$ claude mcp add tokio-serde \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page