23 releases (13 breaking)

0.14.0 Aug 22, 2023
0.13.0 Mar 3, 2023
0.12.5 Oct 3, 2022
0.12.3 Jul 27, 2022
0.0.0 Jun 14, 2019

#85 in Development tools

Download history 3693/week @ 2023-06-09 5386/week @ 2023-06-16 5242/week @ 2023-06-23 8477/week @ 2023-06-30 5600/week @ 2023-07-07 5536/week @ 2023-07-14 5460/week @ 2023-07-21 3109/week @ 2023-07-28 3525/week @ 2023-08-04 1707/week @ 2023-08-11 2675/week @ 2023-08-18 3123/week @ 2023-08-25 3278/week @ 2023-09-01 3802/week @ 2023-09-08 3406/week @ 2023-09-15 2590/week @ 2023-09-22

13,389 downloads per month
Used in 6 crates (4 directly)

MIT/Apache

330KB
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

~12–54MB
~1M SLoC