29 releases (18 breaking)

0.19.0 Oct 10, 2024
0.17.1 Mar 26, 2024
0.16.0 Dec 6, 2023
0.15.0 Nov 8, 2023
0.0.0 Jun 14, 2019

#115 in Development tools

Download history 3675/week @ 2024-07-30 4298/week @ 2024-08-06 5091/week @ 2024-08-13 3943/week @ 2024-08-20 4899/week @ 2024-08-27 3215/week @ 2024-09-03 3358/week @ 2024-09-10 3407/week @ 2024-09-17 4858/week @ 2024-09-24 3565/week @ 2024-10-01 4750/week @ 2024-10-08 3167/week @ 2024-10-15 2461/week @ 2024-10-22 2951/week @ 2024-10-29 2582/week @ 2024-11-05 3086/week @ 2024-11-12

11,553 downloads per month
Used in 11 crates (4 directly)

MIT/Apache

350KB
7K 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 noxious-server 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 noxious-server 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

~89MB
~2M SLoC