Docs.rs
mushroomdb-server-0.1.2
mushroomdb-server 0.1.2
Docs.rs crate page
Apache-2.0
27 August 2026
Links
Repository
crates.io
Source
Owners
MatthewSherlin
Dependencies
mushroomdb-arrow ^0.1.2
normal
axum ^0.8
normal
mushroomdb ^0.1.2
normal
include_dir ^0.7
normal
optional
serde ^1
normal
serde_json ^1
normal
tokio ^1
normal
tower-http ^0.6
normal
arrow-array ^59
dev
arrow-ipc ^59
dev
futures-util ^0.3
dev
tokio-tungstenite ^0.29
dev
tower ^0.5
dev
Versions
85.71%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate server
server
0.1.2
All Items
Crate Items
Functions
Crate
server
Copy item path
Source
Functions
ยง
router
Build the HTTP router over
db
. Read endpoints take the read lock;
/ingest
takes the write lock. Guards are dropped before any
.await
.
GET /watch
upgrades to a WebSocket fed by the post-commit sink.
router_
with_
auth
router
with an optional bearer/
?token=
requirement on every route except unauthenticated
GET /health
.
router_
with_
ui
Same as
router_with_auth
, then
ServeDir
as the fallback so API routes win.
run_
mcp_
stdio
Run the MCP loop until
reader
hits EOF.
serve
Bind
addr
(port 0 is ephemeral) and serve.
serve_
with_
ui
serve
plus a UI dist directory mounted behind the API routes.