docs.rs failed to build sa-token-plugin-rocket-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
sa-token-plugin-rocket-0.1.18
sa-token-plugin-rocket
Rocket framework integration for sa-token-rust.
Features
- 🚀 Rocket-native: Built for Rocket 0.5
- 🎯 Fairing Support: Easy middleware integration
- 🔧 Request Guards: Type-safe authentication
- 🛡️ Complete: Full auth features
Installation
[]
= { = "0.2.0", = ["redis"] }
= "0.5"
版本与 crate 结构(多版本适配)
- Facade:本 crate(
sa-token-plugin-rocket),默认启用v05→ 绑定sa-token-plugin-rocket-v05(Rocket 0.5)。 - 共享类型:
sa-token-plugin-common(本 crate 再导出SaTokenState等)。
Quick Start
extern crate rocket;
use State;
use ;
use MemoryStorage;
use Arc;
Author
金书记
License
Licensed under either of Apache-2.0 or MIT.