| 1 | [package] |
| 2 | name = "anvil-web" |
| 3 | version.workspace = true |
| 4 | edition.workspace = true |
| 5 | license.workspace = true |
| 6 | repository.workspace = true |
| 7 | rust-version.workspace = true |
| 8 | description = "HTTP server for anvil: web UI and smart-HTTP git endpoints (axum)." |
| 9 | |
| 10 | [lints] |
| 11 | workspace = true |
| 12 | |
| 13 | [dependencies] |
| 14 | anvil-agent.workspace = true |
| 15 | anvil-ci.workspace = true |
| 16 | anvil-core.workspace = true |
| 17 | anvil-job.workspace = true |
| 18 | anvil-git.workspace = true |
| 19 | axum.workspace = true |
| 20 | axum-extra.workspace = true |
| 21 | futures-util.workspace = true |
| 22 | tokio.workspace = true |
| 23 | tokio-util.workspace = true |
| 24 | tracing.workspace = true |
| 25 | serde.workspace = true |
| 26 | serde_json.workspace = true |
| 27 | base64.workspace = true |
| 28 | reqwest.workspace = true |
| 29 | ring.workspace = true |
| 30 | rustls.workspace = true |
| 31 | lru.workspace = true |
| 32 | maud.workspace = true |
| 33 | pulldown-cmark.workspace = true |
| 34 | similar.workspace = true |
| 35 | syntect.workspace = true |
| 36 | time.workspace = true |
| 37 | |
| 38 | [dev-dependencies] |
| 39 | tempfile = { version = "3" } |
| 40 | serde_json.workspace = true |
| 41 | rand.workspace = true |
| 42 | ssh-key = { workspace = true, features = ["ed25519"] } |
| 43 | tokio = { workspace = true } |
| 44 | tower = { workspace = true, features = ["util"] } |
| 45 | # The stand-in identity provider in tests/oidc_flow.rs generates a key and |
| 46 | # signs its own id tokens. ring, which verifies them on anvil's side, can only |
| 47 | # verify with an RSA key, not make one. |
| 48 | rsa = { version = "0.9" } |
| 49 | # `oid` for the DigestInfo prefix PKCS#1 v1.5 (and so RS256) signs over. Its |
| 50 | # own 0.10 rather than the workspace's 0.11: `rsa` 0.9 is still on `digest` |
| 51 | # 0.10, and a `Sha256` from the newer generation does not satisfy its bounds. |
| 52 | sha2 = { version = "0.10", features = ["oid"] } |