docs.rs failed to build tfrecord-0.1.0
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.
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.
Visit the last successful build:
tfrecord-0.15.0
tfrecord-rust
The crate provides the functionality to serialize and deserialize TFRecord data format from TensorFlow.
Features
- Provide both high level
EasyExample
type as well as low levelVec<u8>
bytes {,de}serialization. - Support async/await syntax. It's easy to work with futures-rs.
- Interoperability with serde.
Usage
Append this line to your Cargo.toml
.
tfrecord = "0.1.0"
The crate provides several cargo features that you can conditionally compile modules.
serde
: Enable interoperability with serde to serialize and deserialize example types.async_
: Enable async/awat API.full
: Enable all features above.
Documentation
See docs.rs for the API.
Example
File reading example
This is a snipplet copied from examples/tfrecord_info.rs.
use ;
Work with async/await syntax
The snipplet from examples/tfrecord_info_async.rs demonstrates the integration with async-std.
use TryStreamExt;
use ;
use ;
async
More examples
Also, we suggest visiting the test code for more detailed usage.
License
MIT license. See LICENSE file for full license.