xstring 0.1.0

An immutable owned string that could be cheaply cloned and passed through FFI.
Documentation

XString

XString is an immutable owned string (and also bytes), sized 2 pointers, that may conditionally hold the data inlined, statically, or within ref counted heap allocated memory, which makes it cheap to clone and pass around.

It has a certain memory representation and could be easily passed through FFI boundaries.

Crates.io Docs.rs MIT Or Apache-2.0 licensed Build Status