[package] name = "mtgc-server" version.workspace = true edition.workspace = true license.workspace = true description = "Sync server for the mtgc library catalog: one versioned library per user, OIDC and/or local sign-in." [lib] name = "mtgc_server" path = "src/lib.rs" [[bin]] name = "mtgc-server" path = "src/main.rs" [dependencies] mtgc-core = { path = "../mtgc-core" } rusqlite = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } anyhow = { workspace = true } axum = { version = "0.8", features = ["form", "json", "query", "tokio", "http1"] } tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal", "sync"] } openidconnect = { version = "4", default-features = false, features = ["reqwest", "rustls-tls"] } argon2 = "0.5" sha2 = "0.10" base64 = "0.22" getrandom = "0.3" url = "2" rpassword = "7" tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } [dev-dependencies] tower = { version = "0.5", features = ["util"] } http-body-util = "0.1" ureq = { workspace = true }