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

#148 in Development tools

Download history 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 3121/week @ 2024-11-12 3088/week @ 2024-11-19 2399/week @ 2024-11-26 2881/week @ 2024-12-03 3648/week @ 2024-12-10 4211/week @ 2024-12-17 1661/week @ 2024-12-24 2515/week @ 2024-12-31 1887/week @ 2025-01-07

11,036 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

~91MB
~2.5M SLoC