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

#65 in Development tools

Download history 967/week @ 2023-12-24 2718/week @ 2023-12-31 3868/week @ 2024-01-07 3577/week @ 2024-01-14 3809/week @ 2024-01-21 4025/week @ 2024-01-28 4623/week @ 2024-02-04 4015/week @ 2024-02-11 3229/week @ 2024-02-18 3901/week @ 2024-02-25 4641/week @ 2024-03-03 4326/week @ 2024-03-10 4283/week @ 2024-03-17 3495/week @ 2024-03-24 4609/week @ 2024-03-31 3399/week @ 2024-04-07

16,064 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–34MB
~638K SLoC