Devin AI
|
23068ae0c5
|
fix(infra): downgrade rs-surface deps to avoid edition 2024 requirement
postgres-protocol 0.6.11 pulled in sha2 0.11.0 and cpufeatures 0.3.0,
which require Rust edition 2024 (Rust 1.85+). nixpkgs-24.11 ships
Rust ~1.83, causing the Garnix CI build to fail.
Fix: downgrade tokio-postgres 0.7.17→0.7.13 and postgres-protocol
0.6.11→0.6.9, which use sha2 0.10 and cpufeatures 0.2 (edition 2021).
Verified: cargo build --release succeeds.
Co-Authored-By: Allaun Silverfox <bigdataiscoming+9i37y6j2@protonmail.com>
|
2026-06-15 01:36:08 +00:00 |
|
Brandon Schneider
|
2f34811bc5
|
ene-session-sync: add meta_autotype.rs; embedded_surface: Rust rs-surface daemon
- src/meta_autotype.rs (396L): port ene_meta_autotype.py — deterministic
ContingentField classifier with scalar_type, bind_class, surface_hint,
autotype_payload, handle_request, and 3 unit tests (all green).
- Cargo.toml: wire meta_autotype mod, add tempfile dev-dep for existing tests.
- embedded_surface/rs-surface/ (1025L): full Rust port of server.py.
- axum 0.7 HTTP server + WebSocket binary surface-frame protocol.
- All 16 op-codes: HEALTH, STATUS, METRICS, ATTEST, COMPRESS, RGFLOW,
ROUTE, MOUNT_STATUS, SNAPSHOT, ENTER_RECOVERY, PRIMITIVES, PLAN_ROUTE,
WIKI, FRACTAL_FOLD, META_AUTOTYPE, CREDENTIALS.
- Inline omni_lut choose_route (choose_route fn, shannon_entropy,
detect_sequence_surface, s3c_shear) — no Python deps.
- Inline meta_autotype_payload — mirrors handle_request from ene_meta_autotype.py.
- Same wire framing: [v][flags][codec][op][req_id][len][crc32][payload].
- Dockerfile: multi-stage Rust builder (alpine) + minimal runtime image;
Python server.py kept as fallback alongside binary.
- cargo build: 0 errors on both crates; meta_autotype tests: 3/3 pass.
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
2026-05-19 14:11:47 +00:00 |
|