Files
synapse/synmark
Matthew Hodgson c96133c1aa Twisted is now an optional dependency. Starting from 122 files with Twisted imports, we've reduced to 11, all with proper try/except ImportError guards. The remaining 11 files are:
- HTTP server (3 files) — Resource subclasses that fall back to object when Twisted unavailable
  - HTTP client (2 files) — Utility stubs and backward-compat wrappers
  - App startup (2 files) — Manhole listener and Complement test forking
  - Replication (3 files) — TCP protocol, Redis, and server factory with fallback stubs
  - Utilities (1 file) — GAI resolver wrapped in try/except

  All core functionality (HTTP server, HTTP client, database, caches, logging, event processing) runs on pure asyncio without Twisted. The remaining Twisted code is for:
  - Manhole SSH debugging (optional feature)
  - Complement test infrastructure (test-only)
  - Replication TCP protocol (has fallback stubs)
  - Legacy backward compatibility
2026-03-22 11:14:00 +00:00
..