summaryrefslogtreecommitdiff
path: root/crates/tor-proto/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Make coarsetime dependency and traffic-timestamping non-optional.Nick Mathewson2022-02-251-8/+1
| | | | | | | | | | | | | | Previously coarsetime and the traffic-timestamp feature were enabled, since they were only required for a small corner of the guardmgr algorithm. But in 1.0 and beyond we'll be adding a bunch of other features (eg, netflow padding, DoS prevention) that will need coarsetime all over the place. And since we're going to be doing coarsetime all over the place, the previous justification for making traffic-timestamping optional (the tiny performance hit) is no longer relevant.
* Remove clippy::needless_borrow exception in CI.Nick Mathewson2022-02-201-1/+0
| | | | | This exception is no longer necessary now that the underlying CI bug is fixed.
* Change deny(clippy::all) to warn(clippy::all).Nick Mathewson2022-02-141-1/+1
| | | | Closes #338.
* Remove the use of Mutex in channel unused_since timestampYuan Lyu2022-02-081-3/+5
|
* Temporarily disable some clippy lints on nightlyIan Jackson2022-02-021-0/+1
|
* Remove a now-incorrect comment in tor-proto.Nick Mathewson2022-01-261-3/+0
|
* extend lints to include 'clippy::all'Daniel Eades2021-12-281-0/+1
|
* add semicolons if nothing returnedDaniel Eades2021-11-251-0/+1
|
* Use coarsetime to build an incoming traffic timestamp.Nick Mathewson2021-11-021-0/+33
| | | | | | | | | | | | | | | | We need this for the circuit timeout estimator (#57). It needs to know "how recently have we got some incoming traffic", so that it can tell whether a circuit has truly timed out, or whether the entire network is down. I'm implementing this with coarsetime, since we need to update these in response to every single incoming cell, and we need the timestamp operation to be _fast_. (This reinstates an earlier commit, f30b2280, which I reverted because we didn't need it at the time.) Closes #179.
* Replace references to arti-client in the documentation.Nick Mathewson2021-10-211-2/+2
|
* Remove #![allow(clippy::unnecessary_wraps)] in tor-proto.Nick Mathewson2021-10-211-1/+0
|
* enable checked_conversions lint.Nick Mathewson2021-10-091-0/+1
|
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-271-0/+129
This will cause some pain for now, but now is really the best time to do this kind of thing.