[package] name = "triple-c" version = "0.4.0" edition = "2021" [lib] name = "triple_c_lib" crate-type = ["lib", "cdylib", "staticlib"] [[bin]] name = "triple-c" path = "src/main.rs" [dependencies] tauri = { version = "2", features = ["image-png", "image-ico"] } tauri-plugin-dialog = "2" tauri-plugin-opener = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" bollard = "0.18" keyring = { version = "3", features = ["apple-native", "windows-native", "linux-native"] } tokio = { version = "1", features = ["full"] } futures-util = "0.3" bytes = "1" uuid = { version = "1", features = ["v4"] } chrono = { version = "0.4", features = ["serde"] } dirs = "6" log = "0.4" fern = { version = "0.7", features = ["date-based"] } tar = "0.4" # Unpacks the pinned OpenTofu release archive (aws/tofu.rs); every platform's # archive is a .tar.gz. The version already in the tree. flate2 = "1" include_dir = "0.7" reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "multipart"] } iana-time-zone = "0.1" sha2 = "0.10" axum = { version = "0.8", features = ["ws"] } # Client side of triple-c-agent's two WebSocket endpoints (host/agent.rs). The # same version axum's `ws` already pulls in; plain ws:// only (the transport is # loopback or an SSM port-forward), so no TLS features. tokio-tungstenite = { version = "0.28", default-features = false, features = ["connect"] } # `PollSender`: the agent attach's stdin `AsyncWrite` over a bounded channel. # Already in the tree through tokio's ecosystem. tokio-util = "0.7" tower-http = { version = "0.6", features = ["cors"] } base64 = "0.22" rand = "0.9" local-ip-address = "0.6" argon2 = "0.5" aes-gcm = "0.10" zeroize = "1" # WHATWG URL parsing for `url_open`'s re-validation of URLs arriving from the # container. Already in the tree transitively (reqwest), and the point of # using it rather than hand-rolling is parity with the frontend's `new URL()`. url = "2" similar = "2" # Marketplace repos are fetched on the host into a bare cache (spec ยง3). # Blocking client + rustls: no git binary or OpenSSL needed on the host. gix = { version = "0.88", default-features = false, features = ["blocking-network-client", "blocking-http-transport-reqwest-rust-tls", "credentials", "sha1"] } # AWS host (docs/superpowers/specs/2026-11-13-aws-ecs-host-design.md). The # service crates' default `rustls` feature is the *legacy* hyper 0.14 / # rustls 0.21 client, a second TLS stack next to the one reqwest already # brings; `default-https-client` is the current one, so defaults are off. aws-config = { version = "1.13.2", default-features = false, features = ["default-https-client", "rt-tokio", "credentials-process", "sso", "behavior-version-latest"] } aws-sdk-ssm = { version = "1.137.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } aws-sdk-ecs = { version = "1.159.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } aws-sdk-sts = { version = "1.126.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } aws-sdk-iam = { version = "1.136.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } aws-sdk-secretsmanager = { version = "1.128.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } aws-sdk-efs = { version = "1.125.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } aws-sdk-cloudwatchlogs = { version = "1.165.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } # aws/pricing.rs: the Fargate rates behind the hourly cost estimate (Q5). aws-sdk-pricing = { version = "1.125.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } # Named by src/aws/connection.rs: the credentials-provider trait (its profile # wrapper) and the profile-file set (aws-config's alias for it is deprecated). # Both are the versions aws-config already resolves. aws-credential-types = { version = "1.3.1", default-features = false } aws-runtime = { version = "1.10.4", default-features = false } # The default sleep and time source for the hand-built SdkConfig (no env/profile # loading); the version and feature already in the tree. aws-smithy-async = { version = "1.3.1", default-features = false, features = ["rt-tokio"] } aws-sdk-s3 = { version = "1.159.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } # aws/tofu.rs: `setsid` puts the detached OpenTofu runner in its own session, # and Cancel sends SIGINT to the runner process alone (never a group), which # forwards it to `tofu`. Liveness is the runner's `apply.lock`, not a PID. # Already in the tree through tokio and friends. [target.'cfg(unix)'.dependencies] libc = "0.2" # Linux only: WebKitGTK refuses getUserMedia until the embedder enables media # streams and answers the permission request (see src/linux_media.rs). Same # version tauri/wry already resolve, so this adds no second copy. [target.'cfg(target_os = "linux")'.dependencies] webkit2gtk = "2.0.2" [dev-dependencies] # `test-util` (not part of tokio's `full`) lets the auto-start retry tests run # their backoff schedule under a paused clock instead of in real seconds. tokio = { version = "1", features = ["full", "test-util"] } tempfile = "3" # Only `aws::live_tests` (ignored): it creates a throwaway environment key to # check that Secrets Manager and the permissions boundary see its tags. aws-sdk-kms = { version = "1.131.0", default-features = false, features = ["default-https-client", "rt-tokio", "behavior-version-latest"] } # Only `aws::tofu_modules` tests: they parse the shipped OpenTofu modules. hcl-rs = "0.20" [build-dependencies] tauri-build = { version = "2", features = [] } # build.rs reads capabilities/*.json to cross-check them against generate_handler!. serde_json = "1" [features] default = ["custom-protocol"] custom-protocol = ["tauri/custom-protocol"]