aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks/http/axum-baseline/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'benchmarks/http/axum-baseline/Cargo.toml')
-rw-r--r--benchmarks/http/axum-baseline/Cargo.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/benchmarks/http/axum-baseline/Cargo.toml b/benchmarks/http/axum-baseline/Cargo.toml
new file mode 100644
index 0000000..1a26451
--- /dev/null
+++ b/benchmarks/http/axum-baseline/Cargo.toml
@@ -0,0 +1,17 @@
+[package]
+name = "axum-baseline"
+version = "0.1.0"
+edition = "2021"
+publish = false
+
+# A reference service for Pure's HTTP benchmarks: the same document contract
+# as Pure's document server, written the way an axum service usually is.
+[dependencies]
+axum = "0.8"
+tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "fs", "sync", "signal"] }
+bytes = "1"
+
+[profile.release]
+lto = "fat"
+codegen-units = 1
+panic = "abort"