awslabs / tough

Rust libraries and tools for using and generating TUF repositories
191 stars 43 forks source link

Fix publish issue #706

Closed webern closed 8 months ago

webern commented 8 months ago

Issue #, if available:

700

Arises from #660, 967e02dfd19c74506111b22f600ef9cb360bc270

Description of changes:

    remove unused lines from deny.toml
    deny.toml: allow-wildcard-paths

    failure-server is an internal package used only in testing that we do
    not want to publish to crates.io. When including it in tough's dev-
    dependencies, it is necessary to do so without a version number or else
    cargo publish will fail. The lack of version number causes cargo deny
    to ban failure-server as a wildcard-versioned dependency. The following
    line allows us to refer to our own internal packages without a version
    number.

Testing

Used cargo publish --dry-run to verify this fixes the problem.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.