[package]
name = "cipher-gate"
version = "0.3.0"
edition = "2024"
description = "Proxy RPC that routes signing requests to a browser wallet UI"
license = "MIT"
readme = "README.md"
repository = "https://github.com/ChaituKReddy/cipher-gate-proxy-rpc"
keywords = ["ethereum", "rpc", "proxy", "wallet"]
categories = ["command-line-utilities", "web-programming"]
include = [
    "src/**",
    "/build.rs",
    "/README.md",
    "/LICENSE",
    # Prebuilt static export — lets `cargo install` skip the Node build entirely.
    "frontend/out/**",
    "frontend/src/**",
    "frontend/public/**",
    "frontend/package.json",
    "frontend/package-lock.json",
    "frontend/next.config.ts",
    "frontend/tsconfig.json",
    "frontend/postcss.config.mjs",
    "frontend/eslint.config.mjs",
]

[[bin]]
name = "cipher-gate"
path = "src/main.rs"

[dependencies]
actix-web = "4"
actix-ws = "0.3"
actix-cors = "0.7"
clap = { version = "4", features = ["derive", "env"] }
reqwest = { version = "0.12", features = ["json"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["full"] }
uuid = { version = "1", features = ["v4"] }
dashmap = "6"
log = "0.4"
env_logger = "0.11"
bytestring = "1"
futures-util = "0.3"
rust-embed = "8"
mime_guess = "2"
alloy-dyn-abi = "1"
alloy-primitives = "1"
hex = "0.4"
