Files
maarcadetweet/Cargo.toml
T
tomdeboneandClaude Opus 5 3c6f4dd67c chore(config): Binaries laden .env selbst; .env.example korrigiert
`cp .env.example .env && cargo run` — der im README dokumentierte Ablauf —
schlug bisher mit `missing env: PDS_HOST` fehl: nichts im Prozess hat die
Datei je gelesen. Beide Bins rufen jetzt als erstes `dotenvy::dotenv()` auf;
echte Umgebungsvariablen gewinnen weiterhin.

Dazu .env.example am Code verifiziert:

* PDS_JWT_SECRET war weder Hex noch ein gültiger P-256-Skalar. jwt_issuer.rs
  macht hex::decode + p256::SecretKey::from_bytes; ein ungültiger Wert lässt
  den Server starten, aber jeder Pfad über server_p256_public_multibase
  antwortet 500 — also nicht nur create/refreshSession, sondern auch jeder
  Record-Write (repo.rs, feed.rs, blob.rs, profile.rs).
* JETSTREAM_COLLECTIONS fehlten app.twi.post (das eigene 160-Zeichen-Lexicon)
  und app.bsky.actor.profile, obwohl der Indexer beide verarbeitet.
* APP_ENV entfernt — wird nirgends gelesen.
* PDS_INTERNAL_URL, APPVIEW_INTERNAL_URL, APPVIEW_HANDLE_SYNC_INTERVAL_SECS
  und die MAARCADETWEET_*-Overrides des Clients ergänzt.
* S3_BUCKET_APPVIEW als das markiert, was es ist: Pflichtvariable ohne Leser.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013HC9HLrUU1LNwkzp8nkDLX
2026-09-09 21:35:53 +02:00

92 lines
2.4 KiB
TOML

[workspace]
resolver = "2"
members = [
"crates/at-lexicon",
"crates/at-crypto",
"crates/at-identity",
"crates/at-mst",
"crates/at-repo",
"crates/at-blob",
"crates/at-firehose",
"crates/at-shared",
"crates/pds-server",
"crates/appview",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "EUPL-1.2"
authors = ["EifelCloud"]
rust-version = "1.80"
[workspace.dependencies]
tokio = { version = "1", features = ["full"] }
axum = "0.7"
tower = "0.5"
tower-http = { version = "0.6", features = ["cors", "trace", "compression-gzip"] }
hyper = "1"
sqlx = { version = "0.8", features = ["runtime-tokio", "postgres", "macros", "uuid", "chrono", "json", "migrate"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_cbor_2 = "0.12"
ciborium = "0.2"
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
utoipa = { version = "5", features = ["axum_extras", "uuid", "chrono"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "json"] }
anyhow = "1"
thiserror = "2"
argon2 = "0.5"
async-trait = "0.1"
reqwest = { version = "0.12", features = ["json", "stream", "multipart"] }
k256 = { version = "0.13", features = ["ecdsa", "sha256", "serde"] }
p256 = { version = "0.13", features = ["ecdsa", "sha256", "serde", "pem", "pkcs8"] }
sec1 = "0.7"
secp256k1 = { version = "0.29", features = ["rand", "serde"] }
jsonwebtoken = "9"
cid = { version = "0.11", features = ["serde"] }
multibase = "0.9"
multihash = "0.19"
sha2 = "0.10"
blake3 = "1"
rand = "0.8"
rand_core = "0.6"
hex = "0.4"
dotenvy = "0.15"
base64 = "0.22"
parking_lot = "0.12"
async-stream = "0.3"
http = "1"
http-body-util = "0.1"
bytes = "1"
futures = "0.3"
tokio-stream = { version = "0.1", features = ["sync"] }
tokio-tungstenite = { version = "0.24", features = ["rustls-tls-webpki-roots"] }
url = "2"
dashmap = "6"
rusqlite = { version = "0.32", features = ["bundled"] }
tempfile = "3"
insta = { version = "1", features = ["yaml"] }
infer = "0.16"
at-shared = { path = "crates/at-shared" }
at-crypto = { path = "crates/at-crypto" }
at-lexicon = { path = "crates/at-lexicon" }
at-identity = { path = "crates/at-identity" }
at-mst = { path = "crates/at-mst" }
at-repo = { path = "crates/at-repo" }
at-blob = { path = "crates/at-blob" }
at-firehose = { path = "crates/at-firehose" }
[profile.release]
lto = "thin"
codegen-units = 1
strip = true
opt-level = 3
[profile.dev]
opt-level = 0
debug = 1