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 3973/week @ 2024-12-08 4136/week @ 2024-12-15 2162/week @ 2024-12-22 2116/week @ 2024-12-29 2587/week @ 2025-01-05 4173/week @ 2025-01-12 4311/week @ 2025-01-19 4606/week @ 2025-01-26 3306/week @ 2025-02-02 4025/week @ 2025-02-09 5354/week @ 2025-02-16 6021/week @ 2025-02-23 4979/week @ 2025-03-02 3358/week @ 2025-03-09 3729/week @ 2025-03-16 3374/week @ 2025-03-23

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

MIT/Apache

355KB
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

~95MB
~2.5M SLoC