kych

OAuth 2.0 API for Swiyu to enable Taler integration of Swiyu for KYC (experimental)
Log | Files | Refs | README | LICENSE

Cargo.toml (1315B)


      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 [dependencies]
     20 # Configuration parsing, logging and socket binding, vendored from taler-rust
     21 taler-config = { path = "../taler-config" }
     22 
     23 # Web framework
     24 axum = "0.8.6"
     25 tokio = { version = "1.48.0", features = ["full"] }
     26 tower-http = { version = "0.6.6", features = ["fs"] }
     27 
     28 # Serialization
     29 serde = { version = "1.0.228", features = ["derive"] }
     30 serde_json = "1.0.145"
     31 
     32 # HTTP client
     33 reqwest = { version = "0.12", features = ["json"] }
     34 
     35 # Configuration
     36 clap = { version = "4.5.49", features = ["derive"] }
     37 
     38 # Utilities
     39 uuid = { version = "1.18.1", features = ["v4", "serde"] }
     40 chrono = { version = "0.4.42", features = ["serde"] }
     41 
     42 # Logging (the subscriber itself is set up by taler-config)
     43 tracing = "0.1.41"
     44 
     45 # Error handling
     46 anyhow = "1.0.100"
     47 
     48 # Cryptography
     49 rand = "0.8.5"
     50 bcrypt = "0.15"
     51 base64 = "0.22.1"
     52 
     53 # URL encoding
     54 urlencoding = "2.1"
     55 
     56 # Database
     57 sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "uuid", "chrono", "json"] }
     58 
     59 # Templates
     60 askama = "0.12"
     61 
     62 [dev-dependencies]
     63 tower = "0.5"
     64 mockito = "1.5"