[−][src]Crate rudano
Rudano, Rust Data Notation, is a data serialization format designed to be as similar as possible to Rust's own syntax.
Usage
Add this to your Cargo.toml
(verifying the version number):
[dependencies]
rudano = "0.1"
Then you can use to_string_pretty
or to_string_compact
for serialization and from_str
for
deserialization. There are examples in the function docs.
Modules
de | Utilities for deserializing data structures from Rudano. |
error | Error structures for Rudano. |
ser | Utilities for serializing data structures into Rudano. |
Structs
DeserializationError | Information on data deserialization error. |
Deserializer | Rudano's deserializer. Its recommended that you use |
Serializer | Rudano's serializer. Its recommended that you use |
Enums
SerializationError | All possible errors that may occur when Serializing Rudano. |
Functions
from_str | Deserializes the given |
serialize_array | Serializes array as sequence instead of serde's derive default (tuple). |
to_string_compact | Serializes the given |
to_string_pretty | Serializes the given |
Type Definitions
DeserializationResult | Result of deserialization operation. |
SerializationResult | Result of serialization operation. |