aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-rtcompat/src/network.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.
* tor-rtcompat: change `Default` impls for connect/listen optionsSteven Engler2026-06-081-37/+60
| | | | The new `Default`s have no panicking code paths.
* tor-rtcompat: add connect() options to set the socket buf sizesSteven Engler2026-06-081-1/+9
|
* tor-rtcompat: add structs to hold connect() optionsSteven Engler2026-06-081-0/+83
| | | | | For now this just sets up the structure. We'll add options for TCP later.
* tor-rtcompat: improve comment on `UnixListenOptions`Steven Engler2026-06-081-1/+1
|
* tor-rtcompat: improve comments related to socket optionsSteven Engler2026-05-211-2/+14
|
* tor-rtcompat: add options to set the socket buf sizesSteven Engler2026-05-071-1/+9
|
* tor-rtcompat: add structs to hold listen() optionsSteven Engler2026-05-071-0/+96
For now this just sets up the structure. We'll add options for TCP later.