google / mdbook-i18n-helpers

Translation support for mdbook. The plugins here give you a structured way to maintain a translated book.
Apache License 2.0
126 stars 25 forks source link

Ensure we run tests and Clipply on entire workspace #123

Closed mgeisler closed 7 months ago

mgeisler commented 9 months ago

Before, we did not actually run tests for mdbook-tera-backend. Now that the crate is a default workspace member, we will automatically run tests and Clippy for it too.

This also makes it easier to apply the same lints at home as in CI: just run cargo clippy with a nightly Rust compiler. The lints table should become stable with Rust 1.74.

kdarkhan commented 7 months ago

Using workspace.lints table in the root Cargo.toml as documented here might be a cleaner way to do this.

mgeisler commented 7 months ago

Using workspace.lints table in the root Cargo.toml as documented here might be a cleaner way to do this.

Thanks, this is nice! I've updated it as you suggested.