Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
serde-ubj
Universal Binary JSON format for Rust with Serde, fully compliant and fully tested. No bad surprises.
[!WARNING]
This project is in an early stage of development, and not production ready yet. Use with caution!
tl;dr
For the impatient.
serialization
With any Rust standard writer you like, serialize your user-defined model to Universal Binary JSON in a few instructions:
use serde_ubj;
use ;
deserialization
Coming soon.
exceptions
This implementation provides all the features of the Universal Binary JSON specification that make sense for the Rust type system, with the following few exceptions:
-
Upon serialization
- Rust
&[u8](byte slices) - Rust
u64values greater thani64::MAX - Rust
alloc::string::String(or&strslices) with len greateri64::MAX, - Rust
std::collections::HashMap
- Rust
-
Upon deserialization
- ???
book
Coming soon.
crate
Coming soon.
build
To build this project, you must have rustup preinstalled, and run our preliminary setup script (only once):
./setup.sh
Then run our build script (which goes through all the steps to build the project), or the usual cargo commands: