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

#139 in Development tools

Download history 2531/week @ 2024-10-24 2600/week @ 2024-10-31 3157/week @ 2024-11-07 2860/week @ 2024-11-14 3144/week @ 2024-11-21 2093/week @ 2024-11-28 2986/week @ 2024-12-05 4038/week @ 2024-12-12 3296/week @ 2024-12-19 1578/week @ 2024-12-26 3019/week @ 2025-01-02 3322/week @ 2025-01-09 4168/week @ 2025-01-16 4784/week @ 2025-01-23 3453/week @ 2025-01-30 3822/week @ 2025-02-06

17,025 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

~92MB
~2.5M SLoC