Cargo.toml 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. [package]
  2. name = "server"
  3. version = "0.1.0"
  4. edition = "2024"
  5. [lib]
  6. name = "server"
  7. path = "src/lib.rs"
  8. [[bin]]
  9. name = "server"
  10. path = "src/main.rs"
  11. [dependencies]
  12. axum = "0.8"
  13. base64 = "0.22"
  14. oauth-core = { path = "../oauth-core" }
  15. rand = "0.9"
  16. reqwest = { version = "0.12", default-features = false, features = ["rustls-tls", "json"] }
  17. secrecy = { version = "0.10.3", features = ["serde"] }
  18. serde = { version = "1.0", features = ["derive"] }
  19. serde_json = "1.0"
  20. subtle = "2.6"
  21. thiserror = "2.0"
  22. tokio = { version = "1.53", features = ["rt-multi-thread", "macros", "signal", "net"] }
  23. tower = { version = "0.5", features = ["util"] }
  24. tower-http = { version = "0.7", features = ["fs", "trace", "set-header"] }
  25. tracing = "0.1"
  26. tracing-subscriber = { version = "0.3", features = ["env-filter"] }
  27. url = "2.5"
  28. [dev-dependencies]
  29. rcgen = "0.14"
  30. # `ring`-only provider: disabling the default features keeps `aws-lc-rs` (and
  31. # its `aws-lc-sys` C build) out of the dependency graph, matching the static
  32. # musl runtime build and the reqwest `rustls-tls` feature set.
  33. rustls = { version = "0.23", default-features = false, features = ["ring", "std", "tls12"] }
  34. tempfile = "3.23"
  35. tokio = { version = "1.53", features = ["rt-multi-thread", "macros", "signal", "net"] }
  36. tokio-rustls = { version = "0.26", default-features = false, features = ["ring", "tls12", "logging"] }
  37. wiremock = "0.6"
  38. [lints.rust]
  39. unsafe_code = "forbid"