Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tnetstring serialization library for rust.
Rust
branch: master
Failed to load latest commit information.
src Get things compiling again
.gitignore
.travis.yml update travis
Cargo.toml
LICENSE.txt
Makefile travis should use cargo
README.md Tagging a version compatible with rust 0.2

README.md

TNetStrings: Tagged Netstrings

This module implements bindings for the tnetstring serialization format.

API

let t = tnetstring::str("hello world");
let s = tnetstring::to_str(t) // returns "11:hello world,"

let (t, extra) = tnetstring::from_str(s);
alt option::get(t) {
  tnetstring::str(s) { ... }
  ...
}

See the tests module in tnetstring.rs for more examples.

Compatibility

Use tag v0.1 with Rust 0.2.

Something went wrong with that request. Please try again.