Docs.rs
fbc-starter-0.1.21
fbc-starter 0.1.21
Docs.rs crate page
MIT
OR
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
fangbc5
Dependencies
anyhow ^1.0
normal
async-trait ^0.1
normal
axum ^0.8.7
normal
chrono ^0.4
normal
config ^0.15.19
normal
dashmap ^6.1.0
normal
deadpool-redis ^0.22
normal
optional
dotenvy ^0.15
normal
http-body-util ^0.1
normal
optional
jsonwebtoken ^9
normal
local-ip-address ^0.6
normal
moka ^0.12
normal
optional
nacos_rust_client ^0.3
normal
optional
once_cell ^1.19
normal
prost ^0.13
normal
optional
rdkafka ^0.38.0
normal
optional
redis ^0.32.7
normal
optional
reqwest ^0.11
normal
optional
serde ^1.0
normal
serde_json ^1.0
normal
sqlx ^0.8.6
normal
optional
thiserror ^2.0.17
normal
time ^0.3
normal
tokio ^1.35
normal
tonic ^0.13
normal
optional
tower ^0.5.2
normal
tower-http ^0.6.8
normal
tower-load ^0.3
normal
optional
tracing ^0.1
normal
tracing-appender ^0.2
normal
tracing-subscriber ^0.3
normal
uuid ^1
normal
reqwest ^0.12.25
dev
Versions
67.91%
of the crate is documented
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
Module middleware
fbc_
starter
0.1.21
Module middleware
Module Items
Functions
In fbc_
starter::
http
fbc_starter
::
http
Module
middleware
Copy item path
Source
Functions
§
create_
cors_
layer
创建 CORS 中间件
grpc_
log_
request
记录 gRPC 请求日志(请求开始) 返回 (trace_id_short, span_id_short, start_time)
grpc_
log_
response
记录 gRPC 请求日志(请求完成)
request_
logging_
middleware
生产级 HTTP 请求日志中间件