-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add improvements to speed up CI builds (#145)
* feat: add hakari for speeding up builds * feat: add concurrency to CI * feat: add `format` dependency on long-running jobs * feat: add cargo-nextest for CI Co-authored-by: Boyuan Feng <bfeng9@wisc.edu>
- Loading branch information
Showing
14 changed files
with
120 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
dep-format-version = "2" | ||
exact-versions = true | ||
hakari-package = "manta-workspace-hack" | ||
platforms = [] | ||
resolver = "2" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ members = [ | |
"manta-parameters", | ||
"manta-pay", | ||
"manta-util", | ||
"manta-workspace-hack", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Avoid putting conflict markers in the generated Cargo.toml file, since their presence breaks | ||
# Cargo. | ||
# Also do not check out the file as CRLF on Windows, as that's what hakari needs. | ||
Cargo.toml merge=binary -crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# This file is generated by `cargo hakari`. | ||
# To regenerate, run: | ||
# cargo hakari generate | ||
|
||
[package] | ||
name = "manta-workspace-hack" | ||
version = "0.1.0" | ||
description = "workspace-hack package, managed by hakari" | ||
# You can choose to publish this crate: see https://docs.rs/cargo-hakari/latest/cargo_hakari/publishing. | ||
publish = false | ||
|
||
# The parts of the file between the BEGIN HAKARI SECTION and END HAKARI SECTION comments | ||
# are managed by hakari. | ||
|
||
### BEGIN HAKARI SECTION | ||
[dependencies] | ||
aes-gcm = { version = "0.9.4", features = ["aes", "alloc"] } | ||
anyhow = { version = "1.0.58", features = ["std"] } | ||
bitflags = { version = "1.3.2" } | ||
blake3 = { version = "1.3.1", default-features = false, features = ["digest", "std"] } | ||
block-buffer = { version = "0.9.0", default-features = false, features = ["block-padding"] } | ||
crypto-common = { version = "0.1.3", default-features = false, features = ["std"] } | ||
digest-93f6ce9d446188ac = { package = "digest", version = "0.10.3", features = ["alloc", "block-buffer", "core-api", "mac", "std", "subtle"] } | ||
digest-274715c4dabd11b0 = { package = "digest", version = "0.9.0", default-features = false, features = ["alloc", "std"] } | ||
futures = { version = "0.3.21", features = ["alloc", "async-await", "executor", "futures-executor", "std"] } | ||
futures-channel = { version = "0.3.21", default-features = false, features = ["alloc", "futures-sink", "sink", "std"] } | ||
futures-core = { version = "0.3.21", features = ["alloc", "std"] } | ||
futures-io = { version = "0.3.21", features = ["std"] } | ||
futures-sink = { version = "0.3.21", default-features = false, features = ["alloc", "std"] } | ||
futures-task = { version = "0.3.21", default-features = false, features = ["alloc", "std"] } | ||
futures-util = { version = "0.3.21", features = ["alloc", "async-await", "async-await-macro", "channel", "futures-channel", "futures-io", "futures-macro", "futures-sink", "io", "memchr", "sink", "slab", "std"] } | ||
generic-array = { version = "0.14.5", default-features = false, features = ["more_lengths"] } | ||
getrandom = { version = "0.2.7", default-features = false, features = ["js", "js-sys", "std", "wasm-bindgen"] } | ||
indexmap = { version = "1.9.1", default-features = false, features = ["std"] } | ||
log = { version = "0.4.17", default-features = false, features = ["kv_unstable", "kv_unstable_std", "std", "value-bag"] } | ||
memchr = { version = "2.5.0", features = ["std"] } | ||
num-traits = { version = "0.2.15", features = ["i128", "libm", "std"] } | ||
pbkdf2 = { version = "0.9.0", default-features = false, features = ["hmac", "sha2"] } | ||
ppv-lite86 = { version = "0.2.16", default-features = false, features = ["simd", "std"] } | ||
rand = { version = "0.8.5", features = ["alloc", "getrandom", "libc", "rand_chacha", "std", "std_rng"] } | ||
rand_chacha = { version = "0.3.1", default-features = false, features = ["std"] } | ||
rand_core = { version = "0.6.3", default-features = false, features = ["alloc", "getrandom", "std"] } | ||
serde = { version = "1.0.137", features = ["alloc", "derive", "serde_derive", "std"] } | ||
serde_json = { version = "1.0.82", features = ["alloc", "std"] } | ||
sha2 = { version = "0.9.9", features = ["std"] } | ||
standback = { version = "0.2.17", default-features = false, features = ["std"] } | ||
subtle = { version = "2.4.1", default-features = false, features = ["i128"] } | ||
url = { version = "2.2.2", default-features = false, features = ["serde"] } | ||
web-sys = { version = "0.3.58", default-features = false, features = ["BinaryType", "Blob", "CloseEvent", "DomException", "Event", "EventTarget", "MessageEvent", "WebSocket", "console"] } | ||
zeroize = { version = "1.4.3", default-features = false, features = ["alloc", "zeroize_derive"] } | ||
|
||
[build-dependencies] | ||
anyhow = { version = "1.0.58", features = ["std"] } | ||
blake3 = { version = "1.3.1", default-features = false, features = ["digest", "std"] } | ||
cc = { version = "1.0.73", default-features = false, features = ["jobserver", "parallel"] } | ||
crypto-common = { version = "0.1.3", default-features = false, features = ["std"] } | ||
digest-93f6ce9d446188ac = { package = "digest", version = "0.10.3", features = ["alloc", "block-buffer", "core-api", "mac", "std", "subtle"] } | ||
generic-array = { version = "0.14.5", default-features = false, features = ["more_lengths"] } | ||
log = { version = "0.4.17", default-features = false, features = ["kv_unstable", "kv_unstable_std", "std", "value-bag"] } | ||
num-traits = { version = "0.2.15", features = ["i128", "libm", "std"] } | ||
serde = { version = "1.0.137", features = ["alloc", "derive", "serde_derive", "std"] } | ||
standback = { version = "0.2.17", default-features = false, features = ["std"] } | ||
subtle = { version = "2.4.1", default-features = false, features = ["i128"] } | ||
syn = { version = "1.0.98", features = ["clone-impls", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "quote", "visit", "visit-mut"] } | ||
|
||
### END HAKARI SECTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
// A build script is required for cargo to consider build dependencies. | ||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// This is a stub lib.rs. |