GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — switchpost/Cargo.toml at master · ishan-parihar/switchpost Expand file tree/ Copy pathCargo.tomlMore file actions 183 lines (157 loc) · 5.32 KB / Copy pathCargo.tomlFile metadata and controls183 lines (157 loc) · 5.32 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 [package] name = "switchpost" version = "0.7.0" edition = "2021" description = "Social posting infrastructure that runs on your own hardware — one Rust binary, 26 platforms, driven by CLI, REST, or MCP" authors = ["Ishan Parihar"] license = "MIT" repository = "https://github.com/ishan-parihar/switchpost" homepage = "https://github.com/ishan-parihar/switchpost" keywords = ["mcp", "social-media", "scheduler", "axum", "switchpost"] categories = ["command-line-utilities", "web-programming::http-server"] # Lint gate (audit 2026-10-14 §9). `clippy::all = deny` makes # `cargo clippy` itself fail on any default-clippy finding, so the CI # gate does not depend on remembering `-- -D warnings`. rustc's own # default warnings stay warnings for `cargo check`; CI denies those # separately (`-- -D warnings`). # # The audit also suggested redundant_clone/needless_collect at warn, but # those are nursery lints (off by default): they fire 59 more findings # beyond the audited 133 and escalate to errors under CI's `-D warnings`. # Revisit only with a dedicated cleanup pass. [lints.clippy] all = "deny" [[bin]] name = "switchpost" path = "src/main.rs" [dependencies] axum-server = { version = "0.7", features = ["tls-rustls"] } rcgen = "0.13" rustls = { version = "0.23", features = ["ring"] } # Web framework axum = { version = "0.8", features = ["macros"] } mime = "0.3" tower = "0.5" tower-http = { version = "0.6", features = ["cors", "fs", "limit", "trace"] } # MCP rmcp = { version = "1.6", features = [ "server", "client", # mcp-call (§5.3) drives the server in-process over a duplex channel "macros", "transport-io", "transport-streamable-http-server", # F8: POST /mcp on the daemon (audit §5.1b) "schemars", ] } schemars = { version = "1.0", features = ["derive", "chrono04", "uuid1"] } # Database sqlx = { version = "0.8", features = [ "runtime-tokio", "sqlite", "uuid", "chrono", "json", "migrate", ] } # Auth argon2 = "0.5" jsonwebtoken = "9" # Serialization serde = { version = "1", features = ["derive"] } serde_json = "1" # CLI clap = { version = "4", features = ["derive"] } # Async runtime tokio = { version = "1", features = [ "rt-multi-thread", "macros", "signal", "time", "sync", "fs", "net", "io-util", "process", ] } async-trait = "0.1" futures = "0.3" tokio-stream = { version = "0.1", features = ["sync"] } # HTTP client (reqwest for most providers) reqwest = { version = "0.12", default-features = false, features = [ "json", "multipart", "rustls-tls", "cookies", "gzip", ] } # wreq — reqwest fork with JA3/JA4/TLS fingerprinting for X/Twitter GraphQL API wreq = { version = "=6.0.0-rc.23", default-features = false, features = [ "json", "cookies", "gzip", "brotli", ] } wreq-util = "=3.0.0-rc.10" # Time + UUID chrono = { version = "0.4", features = ["serde"] } # Compile-time embedded IANA tzdata. The server resolves the founder's # zone NAME per-instant (DST-correct), so a calendar window spanning a # transition no longer buckets post-transition posts an hour late. # No runtime database - the tzdata is baked into the binary, which keeps # the single-binary rule (AGENTS.md 0.5.3) intact. chrono-tz = "0.10" uuid = { version = "1", features = ["v4", "serde"] } # Telegram MTProto (Grammers — pure Rust, no C deps) grammers-client = "0.7" grammers-mtproto = "0.7" grammers-mtsender = "0.7" grammers-session = "0.7" grammers-tl-types = "0.7" # WhatsApp Web (replaces external Go wacli sidecar) wa-rs = "0.2.0" wa-rs-sqlite-storage = "0.2.0" rusqlite = { version = "0.32", features = ["bundled"] } # Error handling thiserror = "2" anyhow = "1" # Logging tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] } # Crypto rand = "0.8" base64 = { version = "0.22", features = ["std"] } sha2 = "0.10" semver = "1" # HMAC-SHA256 for AWS SigV4 request signing (S3/R2 media storage). # Hand-rolled rather than aws-sdk-s3: we need PUT/GET/DELETE + signing only, # and this keeps the dep tree flat. hmac = "0.12" hex = "0.4" aes-gcm = "0.10" regex = "1" # Config dotenvy = "0.15" # GitHub API (octocrab for GraphQL/REST) octocrab = { version = "0.42", default-features = false, features = ["rustls"] } # Multipart (media uploads) axum-extra = { version = "0.10", features = ["multipart"] } # MIME type detection for uploads mime_guess = "2" # URL encoding for OAuth url = { version = "2", features = ["serde"] } urlencoding = "2" # RSS feed parsing feed-rs = "2.1" # Embed frontend/build directory into the binary at compile time # When frontend/build/ doesn't exist, rust-embed produces an empty set (no panic). rust-embed = { version = "8", features = ["include-exclude"] } # AXI §1: Token-efficient TOON output. Was wrapped in a crates/toon-helper # path crate; inlined into src/cli/run.rs when that member was dropped. # Pinned at the 0.4 minor — 0.5.0 is a semver-major (see docs/planning/VENDOR_PINS.md). toon-format = { version = "0.4", default-features = false } [patch.crates-io] # core2 0.4.0 was yanked from crates.io, but glass_pumpkin 1.6 (transitive # dep of grammers-crypto 0.7) still requires it. The real core2 is a # no_std reimplementation of std::io; glass_pumpkin only uses core2::error, # which in std contexts is identical to std::error::Error. This local stub # re-exports the std types so the build unblocks. core2 = { path = "vendor/core2" } |
| You are visitor 01402792 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |