OAuth2 integration for Rocket applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
957B

  1. [package]
  2. name = "rocket_oauth2"
  3. version = "0.3.0"
  4. description = "OAuth2 for Rocket applications"
  5. documentation = "https://docs.rs/rocket_oauth2/"
  6. homepage = "https://github.com/jebrosen/rocket_oauth2"
  7. repository = "https://github.com/jebrosen/rocket_oauth2"
  8. authors = ["Jeb Rosen <jeb@jebrosen.com>"]
  9. license = "MIT/Apache-2.0"
  10. readme = "README.md"
  11. edition = "2018"
  12. [workspace]
  13. members = ["examples/user_info_hyper_sync_rustls", "examples/user_info_custom_provider"]
  14. [features]
  15. default = ["hyper_sync_rustls_adapter"]
  16. hyper_sync_rustls_adapter = ["hyper", "hyper-sync-rustls"]
  17. [dependencies]
  18. base64 = "0.10"
  19. log = "0.4.4"
  20. rand = { version = "0.7", default-features = false, features = ["std"] }
  21. rocket = { version = "0.4", default-features = false, features = ["private-cookies"] }
  22. serde_json = "1.0"
  23. url = "2.0"
  24. # hyper-sync-rustls adapter
  25. hyper = { version = "0.10", optional = true }
  26. hyper-sync-rustls = { version = "=0.3.0-rc.4", optional = true }