Skip to content

Commit 53b809d

Browse files
authored
docs: add openapi keyword to readme (#611)
Signed-off-by: Keming <[email protected]>
1 parent b708ca0 commit 53b809d

File tree

5 files changed

+62
-76
lines changed

5 files changed

+62
-76
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ updates:
88
- package-ecosystem: "cargo" # See documentation for possible values
99
directory: "/" # Location of package manifests
1010
schedule:
11-
interval: "weekly"
12-
day: "saturday"
11+
interval: "monthly"
1312
reviewers:
1413
- "kemingy"
1514
commit-message:
@@ -18,8 +17,7 @@ updates:
1817
- package-ecosystem: "pip"
1918
directory: "/"
2019
schedule:
21-
interval: "weekly"
22-
day: "saturday"
20+
interval: "monthly"
2321
reviewers:
2422
- "kemingy"
2523
commit-message:
@@ -28,8 +26,7 @@ updates:
2826
- package-ecosystem: "github-actions"
2927
directory: "/"
3028
schedule:
31-
interval: "weekly"
32-
day: "saturday"
29+
interval: "monthly"
3330
reviewers:
3431
- "kemingy"
3532
commit-message:

Cargo.lock

Lines changed: 50 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,24 @@ readme = "README.md"
88
repository = "https://github.com/mosecorg/mosec"
99
description = "Model Serving made Efficient in the Cloud."
1010
documentation = "https://docs.rs/mosec"
11+
categories = ["science"]
12+
keywords = ["machine-learning", "deep-learning", "cloud", "model-serving", "service"]
1113
exclude = ["target", "examples", "tests", "scripts"]
1214

1315
[dependencies]
14-
bytes = "1"
16+
bytes = "1.9"
1517
tracing = "0.1"
1618
tracing-subscriber = { version = "0.3", features = ["local-time", "json"] }
17-
tokio = { version = "1", features = ["rt", "rt-multi-thread", "time", "macros", "sync", "signal", "io-util"] }
18-
derive_more = { version = "1", features = ["display", "error", "from"] }
19+
tokio = { version = "1.42", features = ["rt", "rt-multi-thread", "time", "macros", "sync", "signal", "io-util"] }
20+
derive_more = { version = "1.0", features = ["display", "error", "from"] }
1921
# MPMS that only one consumer sees each message & async
2022
async-channel = "2.2"
2123
prometheus-client = "0.22"
2224
axum = { version = "0.7", default-features = false, features = ["matched-path", "original-uri", "query", "tokio", "http1", "http2"]}
2325
async-stream = "0.3.6"
2426
serde = "1.0"
2527
serde_json = "1.0"
26-
utoipa = "5"
27-
utoipa-swagger-ui = { version = "8", features = ["axum"] }
28+
utoipa = "5.2"
29+
utoipa-swagger-ui = { version = "8.0", features = ["axum"] }
2830
tower = "0.5.1"
2931
tower-http = {version = "0.6.1", features = ["compression-zstd", "decompression-zstd", "compression-gzip", "decompression-gzip"]}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ That's it! You have just hosted your **_stable-diffusion model_** as a service!
185185
More ready-to-use examples can be found in the [Example](https://mosecorg.github.io/mosec/examples/index.html) section. It includes:
186186

187187
- [Pipeline](https://mosecorg.github.io/mosec/examples/echo.html): a simple echo demo even without any ML model.
188-
- [Request validation](https://mosecorg.github.io/mosec/examples/validate.html): validate the request with type annotation.
188+
- [Request validation](https://mosecorg.github.io/mosec/examples/validate.html): validate the request with type annotation and generate OpenAPI documentation.
189189
- [Multiple route](https://mosecorg.github.io/mosec/examples/multi_route.html): serve multiple models in one service
190190
- [Embedding service](https://mosecorg.github.io/mosec/examples/embedding.html): OpenAI compatible embedding service
191191
- [Reranking service](https://mosecorg.github.io/mosec/examples/rerank.html): rerank a list of passages based on a query

0 commit comments

Comments
 (0)