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

#107 in Development tools

Download history 2933/week @ 2024-07-18 3216/week @ 2024-07-25 4156/week @ 2024-08-01 4129/week @ 2024-08-08 4952/week @ 2024-08-15 4867/week @ 2024-08-22 3657/week @ 2024-08-29 3252/week @ 2024-09-05 3231/week @ 2024-09-12 4074/week @ 2024-09-19 4670/week @ 2024-09-26 3387/week @ 2024-10-03 4673/week @ 2024-10-10 2941/week @ 2024-10-17 2531/week @ 2024-10-24 2556/week @ 2024-10-31

13,481 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

~88MB
~2M SLoC