20 releases (11 breaking)

0.12.4 Aug 12, 2022
0.12.3 Jul 27, 2022
0.12.2 Apr 26, 2022
0.12.1 Jan 28, 2022
0.0.0 Jun 14, 2019

#50 in Testing

Download history 4784/week @ 2022-06-06 3565/week @ 2022-06-13 5163/week @ 2022-06-20 3786/week @ 2022-06-27 4123/week @ 2022-07-04 5230/week @ 2022-07-11 3891/week @ 2022-07-18 5440/week @ 2022-07-25 3676/week @ 2022-08-01 4694/week @ 2022-08-08 4735/week @ 2022-08-15 3807/week @ 2022-08-22 3731/week @ 2022-08-29 3940/week @ 2022-09-05 2604/week @ 2022-09-12 3632/week @ 2022-09-19

14,136 downloads per month
Used in 4 crates

MIT/Apache

325KB
6.5K SLoC

tough is a Rust client for The Update Framework (TUF) repositories.

For more information see the documentation and the repository.

Testing

Unit tests are run in the usual manner: cargo test. Integration tests require docker and are disabled by default behind a feature named integ. To run all tests, including integration tests: cargo test --all-features or cargo test --features 'http,integ'.


lib.rs:

Tough is a client library for TUF repositories.

This client adheres to TUF version 1.0.0, with the following exceptions:

  • Delegated roles (and TAP 3) are not yet supported.
  • TAP 4 (multiple repository consensus) is not yet supported.

Testing

Unit tests are run in the usual manner: cargo test. Integration tests require docker and are disabled by default behind a feature named integ. To run all tests, including integration tests: cargo test --all-features or cargo test --features 'http,integ'.

Dependencies

~10–20MB
~464K SLoC