| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Run maint/add_warning. | Nick Mathewson | 2024-03-13 | 1 | -0/+1 |
| | | |||||
| * | Run maint/add_warning to add lint block everywhere | Ian Jackson | 2023-08-23 | 1 | -0/+1 |
| | | |||||
| * | Run maint/add_warning to actually apply new lint allows | Ian Jackson | 2023-07-10 | 1 | -0/+1 |
| | | |||||
| * | Allow clippy::unchecked_duration_subtraction in tests | Nick Mathewson | 2023-01-27 | 1 | -0/+1 |
| | | | | | | This panics on error, and we're fine with a panic on misbehavior in tests. | ||||
| * | test lint blocks: Add many many automatically | Ian Jackson | 2022-12-12 | 1 | -0/+8 |
| | | | | | | This is precisely the result of running the rune in maint/adhoc-add-lint-blocks. | ||||
| * | Use testing_rng() in tests throughout our crates. | Nick Mathewson | 2022-06-02 | 1 | -2/+2 |
| | | | | | | | This only affects uses of thread_rng(), and affects them all more or less indiscriminately. One test does not work with ARTI_TEST_PRNG=deterministic; the next commit will fix it. | ||||
| * | Make TlsConnector wrap TCP connections, not create its own | eta | 2021-12-07 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | `tor-rtcompat`'s `TlsConnector` trait previously included a method to create a TLS-over-TCP connection, which implied creating a TCP stream inside that method. This commit changes that, and makes the function wrap a TCP stream, as returned from the runtime's `TcpProvider` trait implementation, instead. This means you can actually override `TcpProvider` and have it apply to *all* connections Arti makes, which is useful for issues like arti#235 and other cases where you want to have a custom TCP stream implementation. This required updating the mock TCP/TLS types in `tor-rtmock` slightly; due to the change in API, we now store whether a `LocalStream` should actually be a TLS stream inside the stream itself, and check this property on reads/writes in order to detect misuse. The fake TLS wrapper checks this property and removes it in order to "wrap" the stream, making reads and writes work again. | ||||
| * | fix/silence clippy lints in test modules | Daniel Eades | 2021-09-08 | 1 | -0/+1 |
| | | |||||
| * | Move all crates into a `crates` subdirectory. | Nick Mathewson | 2021-08-27 | 1 | -0/+253 |
| This will cause some pain for now, but now is really the best time to do this kind of thing. | |||||
