Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions frameworks/Rust/ohkami/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[package]
name = "framework_benchmarks"
version = "0.24.0"
version = "0.24.5"
edition = "2024"
authors = ["kanarus <kanarus786@gmail.com>"]
authors = ["kanarus <mail@kanarus.dev>"]

[dependencies]
ohkami = { version = "0.24" }
tokio = { optional = true, version = "1.47", features = ["rt"] }
tokio = { optional = true, version = "1.49", features = ["rt"] }
tokio-postgres = { optional = true, version = "0.7" }
yarte = { optional = true, version = "0.15" }
futures-util = { optional = true, version = "0.3" }
rand = { optional = true, version = "0.8", features = ["small_rng"] }
rand = { optional = true, version = "0.10" }

[features]
rt_tokio = ["ohkami/rt_tokio", "tokio", "tokio-postgres", "yarte", "futures-util", "rand"]
Expand Down
1 change: 1 addition & 0 deletions frameworks/Rust/ohkami/benchmark_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"framework": "ohkami",
"maintainers": ["kanarus"],
"tests": [
{
"default": {
Expand Down
11 changes: 4 additions & 7 deletions frameworks/Rust/ohkami/rt_glommio.dockerfile
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
FROM rust:1.89-slim-bookworm AS builder
FROM rust:1.93-slim-trixie AS builder

RUN apt update && apt install -y --no-install-recommends \
pkg-config \
git \
&& rm -rf /var/lib/apt/lists/*

COPY ./Cargo.toml /build/
COPY ./src/ /build/src/
COPY ./rt_glommio/ /build/rt_glommio/

WORKDIR /build/rt_glommio
COPY ./Cargo.toml /build/
COPY ./src/ /build/src/
COPY ./rt_glommio/ /build/rt_glommio/
ENV RUSTFLAGS="-C target-cpu=native"
RUN cargo build --release

##########################################################

FROM gcr.io/distroless/cc-debian12

COPY --from=builder /build/rt_glommio/target/release/framework_benchmarks-glommio /app/

EXPOSE 8000
CMD [ "/app/framework_benchmarks-glommio" ]
Loading
Loading