Skip to content

Commit

Permalink
*: use hakari to manage a workspace-hack crate
Browse files Browse the repository at this point in the history
workspace-hack crates speed up builds when working across a workspace
with many crates by ensuring that all crates use the same features for
all transitive dependencies. For details, see the excellent hakari
documentation on the subject. [0]

This commit uses hakari to generate such a workspace-hack crate, and
teaches CI to enforce that it is kept up to date.

[0]: https://docs.rs/cargo-hakari/latest/cargo_hakari/about/index.html
  • Loading branch information
benesch committed Dec 12, 2022
1 parent add23fd commit 40568ae
Show file tree
Hide file tree
Showing 76 changed files with 530 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .config/hakari.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
hakari-package = "workspace-hack"
dep-format-version = "2"
resolver = "2"
platforms = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
]
exact-versions = true
Loading

0 comments on commit 40568ae

Please sign in to comment.