Cargo.toml (1372B)
1 [package] 2 name = "kych" 3 version = "0.0.1" 4 edition = "2024" 5 autobins = false 6 7 [lib] 8 name = "kych_oauth2_gateway_lib" 9 path = "src/lib.rs" 10 11 [[bin]] 12 name = "kych-oauth2-gateway" 13 path = "src/main.rs" 14 15 [[bin]] 16 name = "kych-client-management" 17 path = "src/bin/client_management_cli.rs" 18 19 [[bin]] 20 name = "kych-dbinit" 21 path = "src/bin/dbinit.rs" 22 23 [dependencies] 24 # Configuration parsing, logging and socket binding, vendored from taler-rust 25 taler-config = { path = "../taler-config" } 26 27 # Web framework 28 axum = "0.8.6" 29 tokio = { version = "1.48.0", features = ["full"] } 30 tower-http = { version = "0.6.6", features = ["fs"] } 31 32 # Serialization 33 serde = { version = "1.0.228", features = ["derive"] } 34 serde_json = "1.0.145" 35 36 # HTTP client 37 reqwest = { version = "0.12", features = ["json"] } 38 39 # Configuration 40 clap = { version = "4.5.49", features = ["derive"] } 41 42 # Utilities 43 uuid = { version = "1.18.1", features = ["v4", "serde"] } 44 chrono = { version = "0.4.42", features = ["serde"] } 45 46 # Logging (the subscriber itself is set up by taler-config) 47 tracing = "0.1.41" 48 49 # Error handling 50 anyhow = "1.0.100" 51 52 # Cryptography 53 rand = "0.8.5" 54 bcrypt = "0.15" 55 base64 = "0.22.1" 56 57 # URL encoding 58 urlencoding = "2.1" 59 60 # Database 61 sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "uuid", "chrono", "json"] } 62 63 # Templates 64 askama = "0.12" 65 66 [dev-dependencies] 67 tower = "0.5" 68 mockito = "1.5"