summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml14
1 files changed, 9 insertions, 5 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 1ee70e7..d344fbd 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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