Skip to content

Commit

Permalink
Merge pull request #1499 from cachix/extract-tasks
Browse files Browse the repository at this point in the history
chore: reduce tasks binary build time
  • Loading branch information
domenkozar authored Oct 7, 2024
2 parents a8495ab + f6afdf2 commit 3974653
Show file tree
Hide file tree
Showing 11 changed files with 73 additions and 203 deletions.
184 changes: 21 additions & 163 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 14 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[workspace]
resolver = "2"
members = ["devenv", "devenv-eval-cache", "devenv-run-tests", "tasks", "xtask"]
members = ["devenv", "devenv-eval-cache", "devenv-run-tests", "devenv-tasks", "xtask"]

[workspace.package]
edition = "2021"
Expand All @@ -12,49 +12,55 @@ repository = "https://github.com/cachix/devenv/"
devenv = { path = "devenv" }
devenv-eval-cache = { path = "devenv-eval-cache" }
devenv-run-tests = { path = "devenv-run-tests" }
tasks = { path = "tasks" }
devenv-tasks = { path = "devenv-tasks" }
xtask = { path = "xtask" }

ansiterm = "0.12.2"
blake3 = "1.5.4"
clap = { version = "4.5.1", features = ["derive", "cargo"] }
cli-table = "0.4.7"
console = "0.15.8"
dotlock = "0.5.0"
fs2 = "0.4.3"
futures = "0.3.30"
hex = "0.4.3"
include_dir = "0.7.3"
indoc = "2.0.4"
lazy_static = "1.5.0"
miette = { version = "7.1.0", features = ["fancy"] }
nix = { version = "0.28.0", features = ["signal"] }
petgraph = "0.6.5"
pretty_assertions = { version = "1.4.0", features = ["unstable"] }
regex = "1.10.3"
reqwest = "0.11.26"
schemars = "0.8.16"
schematic = { version = "0.14.3", features = [
"schema",
"yaml",
"renderer_template",
"renderer_json_schema",
] }
serde = "1.0.197"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.114"
serde_repr = "0.1.19"
serde_yaml = "0.9.32"
sha2 = "0.10.8"
sqlx = { version = "0.8.2", features = ["time", "sqlite", "runtime-tokio"] }
tempdir = "0.3.7"
tempfile = "3.12.0"
thiserror = "1.0.63"
tracing = "0.1.40"
which = "6.0.0"
whoami = "1.5.1"
xdg = "2.5.2"
tokio = { version = "1.39.3", features = [
"process",
"fs",
"io-util",
"macros",
"rt-multi-thread",
"sync",
"time",
] }
schemars = "0.8.16"
which = "6.0.0"
whoami = "1.5.1"
xdg = "2.5.2"

# Always build optimized sqlx-macro to speed up query checks
[profile.dev.package.sqlx-macros]
Expand Down
2 changes: 1 addition & 1 deletion devenv-run-tests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ license.workspace = true
clap.workspace = true
devenv.workspace = true
tempdir.workspace = true
tokio = "1.39.3"
tokio.workspace = true
Loading

0 comments on commit 3974653

Please sign in to comment.