-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
31 lines (27 loc) · 1.07 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
[package]
name = "context"
description = "Authn/z context that is passed between TheHackerApp services"
version = "0.5.3"
license = "MIT"
homepage = "https://github.com/TheHackerApp/context"
repository = "https://github.com/TheHackerApp/context.git"
edition = "2021"
publish = ["wafflehacks"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-graphql = { version = "7.0", default-features = false, optional = true }
async-trait = { version = "0.1", optional = true }
axum-core = { version = "0.4", default-features = false, optional = true }
headers = { version = "0.4", optional = true }
http = { version = "1", optional = true }
serde = { version = "1", features = ["derive"] }
[dev-dependencies]
axum = { version = "0.7", default-features = false, features = ["query"] }
serde_json = "1"
serde_urlencoded = "0.7"
tokio = { version = "1", features = ["macros", "rt", "rt-multi-thread"] }
[features]
axum = ["async-trait", "axum-core", "headers"]
default = []
graphql = ["async-graphql"]
headers = ["dep:headers", "http"]