OpenTimestamps Library for Rust
This library is in early stages. It currently supports parsing and serialization
.ots files, and can play them forward to compute the eventual hashes that
actually wind up in the chain.
There is lots of remaining work to do as far as documentation and examples.
src/bin/ots_info.rs there is a simple application that reads a
.ots file and
dumps its contents to stdout, as a basic usage example. It really just calls
fmt::Display::fmt on the
DetachedTimestampFile structure; in the absense of any
other documentation, reading that function is a good starting point for seeing how
the data structures work. You can execute it with
cargo run -- <filename.ots>