Port over to futures and async/await

This is an experiment on porting rust-tuf over to using futures
and async/await, which is what we use on Fuchsia. This is in contrast
with #151, which uses futures 0.1, which is compatible with stable
rust, but dramatically more invasive of a change, which is why
I haven't rebased it on top of remotes/origin/develop yet.

The downside of this is that landing this patch would make rust-tuf
require nightly until async/await is stablized. Unfortunately there
is no clear date on when that is going to occur.
9 files changed
tree: e79374cdccb27543c911feedc022c87ee196a73f
  1. .gitignore
  2. .travis.yml
  3. Cargo.toml
  6. Makefile
  7. README.md
  8. appveyor.yml
  9. src/
  10. tests/


Travis build Status Appveyor build status codecov

A Rust implementation of The Update Framework (TUF).

Full documentation is hosted at docs.rs.

Warning: Beta Software

This is under active development and may not suitable for production use. Further, the API is unstable and you should be prepared to refactor on even patch releases.


Please make all pull requests to the develop branch.


This project has a full disclosure policy on security related errors. Please treat these errors like all other bugs and file a public issue. Errors communicated via other channels will be immediately made public.



This work is dual licensed under the MIT and Apache-2.0 licenses. See LICENSE-MIT and LICENSE-APACHE for details.

Cryptography Notice

This software includes and uses cryptographic software. Your current country may have restrictions on the import, export, possession, or use of cryptographic software. Check your country's relevant laws before using this in any way. See Wassenaar for more info.