diff options
| author | tv <tv@krebsco.de> | 2026-10-28 15:06:11 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-28 15:06:11 +0100 |
| commit | a6d53ce9f6c630cb0515939a9618ce2082ef1290 (patch) | |
| tree | 584027bc33c29bbcb0cd0288ef61f89ae7e97788 | |
| parent | 86104f5aa4fa6d8cbc0ea2c5d47481e23c3aff04 (diff) | |
add dev profile and quick/sim aliases
| -rw-r--r-- | .cargo/config.toml | 6 | ||||
| -rw-r--r-- | Cargo.toml | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..8660776 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,6 @@ +# Shortcuts for the development loop (docs/development.md). +[alias] +# Everything but the simulations: a few seconds. +quick = "test --features libp2p,tor -- --skip simtest" +# The simulations: whole swarms in one process, in real time. +sim = "test --features libp2p,tor simtest" @@ -60,3 +60,13 @@ tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] } url = "2.5" utoipa-swagger-ui = { version = "10", features = ["axum"] } uuid = { version = "1", features = ["v4"] } + +# A quick development loop (docs/development.md): line numbers in backtraces but no +# full debug info, and dependencies built optimised (Automerge's work dominates the +# tests) and without debug info. Built once; then a change rebuilds in seconds. +[profile.dev] +debug = "line-tables-only" + +[profile.dev.package."*"] +debug = false +opt-level = 2 |
