准确来说是除了 routing::get
好像都无法使用, 不知道什么原因
截图:
https://i.pstorage.space/i/ODzLWeoNa/original_%E9%A3%9E%E4%B9%A620220106-162207.png
https://i.pstorage.space/i/NvaV2zW4/original_%E9%A3%9E%E4%B9%A620220106-162216.png
toml
[dependencies]
axum = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1"
tokio = { version = "1.0", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
poem 完美解决, 再见axum!
1
共 1 条评论, 1 页
评论区
写评论不错,有眼光!👍