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

#116 in Development tools

Download history 4529/week @ 2024-08-16 5138/week @ 2024-08-23 3353/week @ 2024-08-30 3218/week @ 2024-09-06 3087/week @ 2024-09-13 4839/week @ 2024-09-20 3964/week @ 2024-09-27 3979/week @ 2024-10-04 4176/week @ 2024-10-11 2697/week @ 2024-10-18 2708/week @ 2024-10-25 2668/week @ 2024-11-01 3399/week @ 2024-11-08 2535/week @ 2024-11-15 2803/week @ 2024-11-22 2181/week @ 2024-11-29

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