aboutsummaryrefslogtreecommitdiff
path: root/crates/arti-rpc-client-core/src/msgs.rs
Commit message (Collapse)AuthorAgeFilesLines
* maint: Run maint/add_warning to deny string slicesClara Engler2026-06-091-0/+1
| | | | | | | | | | | | This commit executes maint/add_warning with the just added change to deny string slices except in tests. I recommend auditing this by checking out the previous commit followed by running the script yourself and then verifying that the diff is identical to this commit. This commit makes cargo clippy fail. We will add exceptions in the next commit.
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* rpclib: FFI for opening data streams.Nick Mathewson2024-09-091-1/+3
| | | | | There's a blocking TODO here about exposing socks error codes that I still need to solve.
* rpclib: Use JsonValue to re-encode requests.Nick Mathewson2024-08-071-0/+12
| | | | | | | | As with responses, we previously used a strategy that could have failed in the future, if we forgot to add an "unexpected_fields" member to one of our structs. Closes #1512.
* rpclib: Use JsonValue to re-encode responsesNick Mathewson2024-08-071-0/+73
| | | | | | | | This approach keeps the property that we still preserve any unrecognized fields, but takes a different approach. Instead of using our own `structs` to round-trip the json, we use a `serde_json::Value`, to ensure that we cannot forget to add the `unexpected_fields` element to a struct.
* FFI: Expose the object ID for the session.Nick Mathewson2024-08-061-0/+6
| | | | (Without this, it isn't actually possible to use the RPC subsystem.)
* rpc: Make ObjectId hold a Utf8CString internally.Nick Mathewson2024-08-061-13/+36
| | | | This will enable us to return it to FFI callers as a nul-terminated string.
* rpclib: Use i64 rather than u64 for request IDs.Nick Mathewson2024-07-221-3/+2
| | | | This makes it conform to the spec and match arti-rpcserver.
* rpc-client: Apply the rest of the big warning set.Nick Mathewson2024-07-161-1/+3
|
* rpc client: Documentation.Nick Mathewson2024-07-161-0/+10
|
* Make RequestId and ObjectId public.Nick Mathewson2024-07-161-2/+2
|
* WIP: Lower and middle levels of Arti rpc core.Nick Mathewson2024-07-161-0/+39