Commit Graph
22 Commits
Author SHA1 Message Date
nicolabellutiandClaude Sonnet 5 f697660ff4 Documented the public API and removed the missing_errors_doc allows
Check, format and test / build (push) Successful in 42s
Added rustdoc comments to every public item (R701, Record, Clock,
RecordIterator and their methods/fields/variants), each with an
# Errors section where applicable, so the clippy::missing_errors_doc
allows are no longer needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-01 15:07:40 +02:00
nicolabelluti d8c6440a59 Re-added npm to the CI/CD pipeline
Check, format and test / build (push) Successful in 33s
2026-10-01 14:49:02 +02:00
nicolabellutiandClaude Sonnet 5 e0e453c9c5 Cleaned up the protocol layer and metadata
Check, format and test / build (push) Failing after 5s
- request() now reads exactly the expected response length with
  read_exact instead of a single non-guaranteed fill_buf, fixing a
  latent bug where a response split across multiple TCP packets could
  be mistaken for malformed data; the per-method length checks are now
  redundant and were removed
- sequence_number wraps explicitly via wrapping_add instead of
  relying on implicit (and debug-vs-release inconsistent) overflow
  behavior after 65536 requests
- get_name validates UTF-8 strictly instead of silently lossy-decoding
  invalid bytes; on invalid data it now returns the FromUtf8Error
  itself (byte-level \0 trimming moved after the UTF-8 check), letting
  the caller choose to fail or fall back to a lossy rendering
- removed the unused Default derive from Clock and Record
- removed npm from the CI image (no JS/Node in this repo), fixed a
  typo in a CI step name
- fixed the Cargo.toml license field to the actual SPDX identifier
  (AGPL-3.0-or-later, per the notice at the end of LICENSE) instead of
  the free-text "GNU AGPLv3.0"

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-01 14:43:50 +02:00
nicolabellutiandClaude Sonnet 5 9af4a82e39 Made R701 shareable via an internal Mutex, allowing get_name to be called while streaming records
Check, format and test / build (push) Successful in 34s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-01 14:02:47 +02:00
nicolabellutiandClaude Sonnet 5 1745ecc05e Made the library async using tokio and the iterator return a Result
Check, format and test / build (push) Successful in 33s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-01 13:28:32 +02:00
nicolabellutiandClaude Sonnet 5 93f9e9d3af Updated the Rust version used by the CI/CD and silenced clippy's missing_errors_doc lint
Check, format and test / build (push) Successful in 1m13s
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-10-01 12:44:07 +02:00
nicolabelluti 07ef2a96bc Updated the README.md and the tests
Check, format and test / build (push) Failing after 20s
v0.1.0
2024-07-31 13:13:07 +02:00
nicolabelluti b2b5f0c66c Removed Nix and the sample-main, added a CI/CD pipeline and updated the README.md
Check, format and test / build (push) Failing after 49s
2024-07-31 12:00:34 +02:00
nicolabelluti 987af19ec8 Added a sample main function to get the data 2024-06-16 17:57:32 +02:00
nicolabelluti 35e75745db Put the lib into a workspace 2024-06-16 17:48:15 +02:00
nicolabelluti 0dd05c0d91 Avoided two overflows 2024-06-16 14:06:13 +02:00
nicolabelluti 78248eb2a5 Renamed a variable 2024-05-13 13:25:17 +02:00
nicolabelluti 4d9361e383 Return a None if the name is an empty String 2024-05-13 13:05:27 +02:00
nicolabelluti 85e07886e9 Added Nix Flake 2024-05-06 12:27:05 +02:00
nicolabelluti ba20f457f8 Reversed the direction of the iterator 2024-05-06 11:31:41 +02:00
nicolabelluti f0ac5fe766 Added the RecordIterator struct 2024-05-05 22:16:48 +02:00
nicolabelluti e2d1f141d6 Added serde as an optional dependency 2024-05-05 21:55:52 +02:00
nicolabelluti 6f0d2587b4 Added the Record struct 2024-05-05 21:49:00 +02:00
nicolabelluti 31117fb479 Updated the README.md 2024-05-05 19:10:06 +02:00
nicolabelluti bc75ec6ebe Added the R701 struct 2024-05-05 19:06:12 +02:00
nicolabelluti b13051d408 Added the Rust base 2024-05-05 16:45:55 +02:00
nicolabelluti 5166b8dabd Initial commit 2024-05-05 16:36:41 +02:00