diff options
| -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 |
