diff options
| author | Jesse Morgan <jesse@jesterpm.net> | 2022-03-23 08:22:38 -0700 |
|---|---|---|
| committer | Jesse Morgan <jesse@jesterpm.net> | 2022-03-23 08:22:38 -0700 |
| commit | 3605650a90c0710aeee93930ba2622bf00a88b70 (patch) | |
| tree | 80344b3717c3483cb1b07c9d1f7c8b6aa2a3199a /Cargo.toml | |
| parent | 5ac0b170be23a2af4b93cb2287da1f7393db8165 (diff) | |
Add support for token extensionsv0.2.0
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 14 |
1 files changed, 9 insertions, 5 deletions
@@ -1,20 +1,24 @@ [package] name = "actix-middleware-rfc7662" -version = "0.1.0" +version = "0.2.0" edition = "2021" description = "Actix-web extractor which validates OAuth2 tokens through an RFC 7662 token introspection endpoint." license = "MIT" repository = "https://github.com/jesterpm/actix-middleware-rfc7662" authors = ["Jesse Morgan <jesse@jesterpm.net>"] -[[bin]] +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[[example]] name = "demo" -path = "src/demo/main.rs" +required-features = ["indieauth"] -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[features] +indieauth = ["serde"] [dependencies] log = "0.4" actix-web = "4" oauth2 = "4" -futures-util = "0.3"
\ No newline at end of file +futures-util = "0.3" +serde = {version = "1", features = ["derive"], optional = true }
\ No newline at end of file |
