Implement Phase 9: client libraries (Go, Rust, Lisp, Python)
- clients/README.md: canonical API surface and error type reference - clients/testdata/: shared JSON response fixtures - clients/go/: mciasgoclient package; net/http + TLS 1.2+; sync.RWMutex token state; DisallowUnknownFields on all decoders; 25 tests pass - clients/rust/: async mcias-client crate; reqwest+rustls (no OpenSSL); thiserror MciasError enum; Arc<RwLock> token state; 22+1 tests pass; cargo clippy -D warnings clean - clients/lisp/: ASDF mcias-client; dexador HTTP, yason JSON; mcias-error condition hierarchy; Hunchentoot mock-dispatcher; 37 fiveam checks pass on SBCL 2.6.1; yason boolean normalisation in validate-token - clients/python/: mcias_client package (Python 3.11+); httpx sync; py.typed; dataclasses; 32 pytest tests; mypy --strict + ruff clean - test/mock/mockserver.go: in-memory mock server for Go client tests - ARCHITECTURE.md §19: updated per-language notes to match implementation - PROGRESS.md: Phase 9 marked complete - .gitignore: exclude clients/rust/target/, python .venv, .pytest_cache, .fasl files Security: token never logged or exposed in error messages in any library; TLS enforced in all four languages; token stored under lock/mutex/RwLock
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{"rustc":16243257175721966122,"features":"[\"bytes\", \"default\", \"io-util\", \"libc\", \"macros\", \"mio\", \"net\", \"rt\", \"rt-multi-thread\", \"socket2\", \"sync\", \"time\", \"tokio-macros\"]","declared_features":"[\"bytes\", \"default\", \"fs\", \"full\", \"io-std\", \"io-uring\", \"io-util\", \"libc\", \"macros\", \"mio\", \"net\", \"parking_lot\", \"process\", \"rt\", \"rt-multi-thread\", \"signal\", \"signal-hook-registry\", \"socket2\", \"sync\", \"taskdump\", \"test-util\", \"time\", \"tokio-macros\", \"tracing\", \"windows-sys\"]","target":9605832425414080464,"profile":5925448066594685647,"path":7105548122538519318,"deps":[[2251399859588827949,"pin_project_lite",false,15221541811940566033],[2714690472991673692,"tokio_macros",false,1509464501088092274],[3870702314125662939,"bytes",false,1322042245192246152],[9156379307790651767,"mio",false,10630579192664111776],[10947645248417156337,"socket2",false,9852079318401079182],[17159683253194042242,"libc",false,15110830989098403107]],"local":[{"CheckDepInfo":{"dep_info":"debug/.fingerprint/tokio-71167613d0855eab/dep-lib-tokio","checksum":false}}],"rustflags":[],"config":2069994364910194474,"compile_kind":0}
|
||||
Reference in New Issue
Block a user