27 releases (16 breaking)

0.17.1 Mar 26, 2024
0.16.0 Dec 6, 2023
0.15.0 Nov 8, 2023
0.13.0 Mar 3, 2023
0.0.0 Jun 14, 2019

#61 in Development tools

Download history 3962/week @ 2024-01-19 3893/week @ 2024-01-26 4850/week @ 2024-02-02 3491/week @ 2024-02-09 3773/week @ 2024-02-16 3663/week @ 2024-02-23 4624/week @ 2024-03-01 4232/week @ 2024-03-08 4599/week @ 2024-03-15 3434/week @ 2024-03-22 4039/week @ 2024-03-29 4749/week @ 2024-04-05 3279/week @ 2024-04-12 3455/week @ 2024-04-19 3368/week @ 2024-04-26 3229/week @ 2024-05-03

13,980 downloads per month
Used in 9 crates (4 directly)

MIT/Apache

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

~17–32MB
~631K SLoC