[package] authors.workspace = true categories.workspace = true edition.workspace = true homepage.workspace = true keywords.workspace = true license.workspace = true repository.workspace = true description = "syndicationd backend api" name = "synd-api" readme = "README.md" version = "0.2.5" [[bin]] name = "synd-api" path = "src/main.rs" [dependencies] synd-auth = { path = "../synd_auth", version = "0.2.4" } synd-feed = { path = "../synd_feed", version = "0.3.4", features = ["graphql"] } synd-o11y = { path = "../synd_o11y", version = "0.1.8" } anyhow = { workspace = true } async-graphql = { workspace = true, features = ["tracing"] } async-graphql-axum = { version = "7.0" } async-trait = { workspace = true } axum = { workspace = true } axum-server = { workspace = true } chrono = { workspace = true } clap = { workspace = true, features = ["derive", "env"] } fdlimit = { workspace = true } feed-rs = { workspace = true } futures-util = { workspace = true } graphql_client = { workspace = true } humantime = { workspace = true } kvsd = { workspace = true } moka = { workspace = true, features = ["future"] } pin-project = "1.1.4" reqwest = { workspace = true } serde = { workspace = true } serde_json = "1.0.127" supports-color = { version = "3.0.0" } thiserror = { workspace = true } tokio = { workspace = true, features = ["macros", "rt-multi-thread", "sync"] } tokio-metrics = { version = "0.3.1", default-features = false, features = ["rt"] } tokio-util = { workspace = true } tower = { version = "0.5.0", default-features = false, features = ["limit", "timeout"] } tower-http = { version = "0.5.2", default-features = false, features = ["trace", "sensitive-headers", "cors", "limit"] } tracing = { workspace = true } tracing-subscriber = { workspace = true } [features] # Integration test integration = [] # Enable graphql introspection introspection = [] opentelemetry-stdout = ["synd-o11y/opentelemetry-stdout"] [dev-dependencies] assert_cmd = { workspace = true } insta = { workspace = true, features = ["yaml"] } synd-test = { path = "../synd_test" } [lints] workspace = true [package.metadata.dist] # Currently, cargo-dist does not respect .cargo/config.toml at workspace toplevel # this cause compile error dut to tokio-metrics which expect tokio-unstable is enabled # https://github.com/axodotdev/cargo-dist/issues/513 dist = false