[package] name = "xray-admin" version = "0.1.0" edition = "2021" [dependencies] # Async runtime tokio = { version = "1.0", features = ["full"] } tokio-cron-scheduler = "0.10" # Serialization/deserialization serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_yaml = "0.9" toml = "0.8" # Configuration config = "0.14" clap = { version = "4.0", features = ["derive", "env"] } # Logging tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } # Utilities anyhow = "1.0" thiserror = "1.0" # Validation validator = { version = "0.18", features = ["derive"] } # URL parsing url = "2.5" # Database and ORM sea-orm = { version = "1.0", features = ["sqlx-postgres", "runtime-tokio-rustls", "macros", "with-chrono", "with-uuid"] } sea-orm-migration = "1.0" # Additional utilities uuid = { version = "1.0", features = ["v4", "v5", "serde"] } chrono = { version = "0.4", features = ["serde"] } async-trait = "0.1" log = "0.4" urlencoding = "2.1" rand = "0.8" # Web server axum = { version = "0.7", features = ["macros", "json"] } tower = "0.4" tower-http = { version = "0.5", features = ["cors", "fs"] } hyper = { version = "1.0", features = ["full"] } # Xray integration xray-core = "0.2.1" # gRPC client for Xray tonic = "0.12" # gRPC client/server framework prost = "0.13" # Protocol Buffers implementation rcgen = { version = "0.12", features = ["pem"] } # For self-signed certificates time = "0.3" # For certificate date/time handling base64 = "0.21" # For PEM to DER conversion # ACME/Let's Encrypt support instant-acme = "0.8" # ACME client for Let's Encrypt reqwest = { version = "0.11", features = ["json", "rustls-tls"] } # HTTP client for Cloudflare API rustls = { version = "0.23", features = ["aws-lc-rs"] } # TLS library with aws-lc-rs crypto provider ring = "0.17" # Crypto for ACME pem = "3.0" # PEM format support # Telegram bot support teloxide = { version = "0.13", features = ["macros"] } [dev-dependencies] tempfile = "3.0"