30 releases (19 breaking)

new 0.20.0 Mar 27, 2025
0.19.0 Oct 10, 2024
0.18.0 Sep 4, 2024
0.17.1 Mar 26, 2024
0.0.0 Jun 14, 2019

#1 in #tuf

Download history 2828/week @ 2024-12-04 3714/week @ 2024-12-11 3961/week @ 2024-12-18 1641/week @ 2024-12-25 2640/week @ 2025-01-01 2991/week @ 2025-01-08 3901/week @ 2025-01-15 4731/week @ 2025-01-22 3930/week @ 2025-01-29 3809/week @ 2025-02-05 3614/week @ 2025-02-12 6804/week @ 2025-02-19 5781/week @ 2025-02-26 3751/week @ 2025-03-05 3403/week @ 2025-03-12 4080/week @ 2025-03-19

18,252 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

~94MB
~2.5M SLoC