Crates.io | lta_models |
lib.rs | lta_models |
version | 0.6.0 |
source | src |
created_at | 2020-01-04 12:51:18.995896 |
updated_at | 2024-02-09 21:46:39.688452 |
description | πModels for lta-rs |
homepage | |
repository | |
max_upload_size | |
id | 195095 |
size | 98,763 |
lta-models
This repository contains the data structures required to interact with LTA's datamall APIs. All data structures implements Serialize
and Deserialize
.
Cargo.toml
setup# extra features available: fastfloat
lta-models = { version = "0.6.0" }
Format | Supported? | Tested? |
---|---|---|
JSON | β | β |
Bincode | β | β |
Flexbuffer | β | β |
MessagePack | β | β |
fast-float
implementationSome of the deserialization code may benefit from using the fastfloat
feature, but during testing the biggest performance improvement can be seen when you swap out the system allocator to something faster like mimalloc
or jemalloc
You can use this to deserialize LTA's datamall APIs. You can take a look at lta-rs for an example.
fastfloat
?Just add the feature to your Cargo.toml
. You don't have to do anything else.
lta-models is licensed under MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)