< 返回版块

Borber 发表于 2022-01-06 16:23

Tags:axum, poem

准确来说是除了 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!

评论区

写评论
sunli829 2022-01-06 18:20

不错,有眼光!👍

1 共 1 条评论, 1 页