summaryrefslogtreecommitdiff
path: root/crates/arti-rpcserver/src/globalid.rs
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade rand crates to 0.10.Wesley Aptekar-Cassels2026-05-121-1/+2
| | | | | | | | | | | When the circ-padding feature is enabled, we use maybenot, which does not yet support rand 0.10. In the meantime, enabling this feature pulls in rand 0.9. This is not ideal, but should be okay as a temporary situation. This also replaces the use of ReseedingRng (which was removed in 0.10) with the reseeding_rng crate. This is somewhat less performant, but it should be okay.
* rpc: collapse GenIdx enum to its single variant.Nick Mathewson2026-04-131-5/+3
|
* rpc: Remove notion of separate table/idx space for weak referencesNick Mathewson2026-04-131-19/+5
| | | | | | | | | We no longer plan to have all weak-refs automatically de-duplicated, for reasons discussed at #868. This lets us discard a lot of code, including code to check for Arc/weak identity. I've disabled some unit tests here, but I'll add them back or rewrite them (or discard them as irrelevant) by the end of the branch.
* Fix name of clippy lint to unchecked_time_subtraction (2)Ian Jackson2025-11-061-1/+1
| | | | Run maint/add_warning
* rpc: Clean up GlobalId decoding API.Nick Mathewson2025-08-271-6/+23
|
* rpc: Cleanups to GlobalId tag byte handling.Nick Mathewson2025-08-271-6/+14
|
* '$' as tag byteNeel Chauhan2025-08-271-1/+1
|
* Use a 'G' prefixNeel Chauhan2025-08-271-3/+5
|
* arti-rpcserver: Check IDs with a tag byte, not a magic lengthNeel Chauhan2025-08-271-4/+4
| | | | Edited-by: Nick Mathewson <[email protected]>
* rpcserver: Fix another ceil_div warningNick Mathewson2025-04-071-2/+1
|
* squash! Upgrade rand dependency to 0.9.Nick Mathewson2025-03-181-1/+1
| | | | - The Rng::gen() functions have been renamed to Rng::random().
* squash! Upgrade rand dependency to 0.9.Nick Mathewson2025-03-181-1/+1
| | | | - `rand::thread_rng()` has been deprecated and renamed to `rand::rng()`
* rpcserver: Use slotmap-careful instead of generational-arena.Nick Mathewson2024-08-141-6/+8
| | | | | | | | | Unlike generational-arena, slotmap is maintained. Unlike slotmap, slotmap-careful should never be able to reuse the same key for two different objects. Closes #1282.
* Run maint/add_warning.Nick Mathewson2024-03-131-0/+1
|
* Run maint/add_warning to add lint block everywhereIan Jackson2023-08-231-0/+1
|
* Run maint/add_warning to actually apply new lint allowsIan Jackson2023-07-101-0/+1
|
* rpc: switch GlobalId mac to KMAC.Nick Mathewson2023-06-141-14/+4
|
* RPC: Give out and accept GlobalIds for appropriate objects.Nick Mathewson2023-06-051-2/+14
|
* RPC: Implement a "global identifier" for non-session-bound IDsNick Mathewson2023-06-051-0/+226
These identifiers are actually only "global" with respect to a given `RpcMgr`, but they should not be forgeable or reusable across RpcMgr objects. We're going to use them so that we have a kind of identifier for `TorClient`s that we can expose to SOCKS.