| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Move all crates into a `crates` subdirectory. | Nick Mathewson | 2021-08-27 | 8 | -1183/+0 |
| | | | | | | This will cause some pain for now, but now is really the best time to do this kind of thing. | ||||
| * | WIP: Add the "unwrap_used" lint. | S0AndS0 | 2021-08-24 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | > Check `unwrap_used` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_used This adds the following Clippy configuration to crates; #![deny(clippy::unwrap_used)] **Warning** while tests and compiler do not show any errors, the submitted changes are very much a Work In Progress and mistakes may have been made. Check https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/67 Merge Request thread for more details. | ||||
| * | Switch all uses of the log crate to the tracing. | Jani Monoses | 2021-08-20 | 2 | -2/+2 |
| | | | | | Issue #74 | ||||
| * | Merge remote-tracking branch 'origin/mr/60' | Nick Mathewson | 2021-08-18 | 1 | -0/+1 |
| |\ | |||||
| | * | Add the "missing_panics_doc" lint. | S0AndS0 | 2021-08-13 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | > Check `missing_panics_doc` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#missing_panics_doc This adds the following Clippy configuration to crates; #![deny(clippy::missing_panics_doc)] And adds necessary doc-comments to methods that may panic. | ||||
| * | | Add the "implicit_clone" lint. | S0AndS0 | 2021-08-17 | 1 | -0/+1 |
| |/ | | | | | | | | | | | | | | > Check `implicit_clone` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#implicit_clone This adds, and addresses, the following Clippy configuration to crates; #![deny(clippy::implicit_clone)] And moves related line within `maint/add_warning.py` file. My intent is to mitigate extra edits after merging, so please let me know if I need to do this last bit differently. | ||||
| * | Use add_warnings.py for clippy::cast_lossless | Nick Mathewson | 2021-08-13 | 1 | -1/+1 |
| | | |||||
| * | Add the "cast_lossless" lint. | S0AndS0 | 2021-08-12 | 1 | -0/+1 |
| | | | | | | | | | | | | | > Check `cast_lossless` section of Clippy documentation for details; > > https://rust-lang.github.io/rust-clippy/master/index.html#cast_lossless This adds the following Clippy configuration to crates; #![deny(clippy::cast_lossless)] And applies suggested Clippy and `cargo fmt` fixes. | ||||
| * | Fix typos in tor-chanmgr | Lennart Kloock | 2021-08-12 | 2 | -4/+4 |
| | | |||||
| * | Add unnecessary_wraps to the big warning list. | Nick Mathewson | 2021-08-06 | 1 | -0/+1 |
| | | |||||
| * | Fix typos and other spelling mistakes | rls | 2021-07-31 | 4 | -5/+5 |
| | | |||||
| * | address a bunch of hopefully uncontroversial lints | Daniel Eades | 2021-07-20 | 1 | -2/+2 |
| | | |||||
| * | Allow tor-rtcompat to build with no runtimes. | Nick Mathewson | 2021-07-01 | 3 | -10/+11 |
| | | | | | | | | | | | | | Thanks to cargo's version-2 feature resolver, we can require a runtime for tests only. I'm also making it so that the functions that create or fetch Runtimes only exist when one of the runtime features is enabled. For now that seems like a better solution than having those functions exist but panic. Closes #129. | ||||
| * | Merge remote-tracking branch 'origin/mr/34' | Nick Mathewson | 2021-06-27 | 1 | -0/+2 |
| |\ | |||||
| | * | Add clippy warn needless pass by value | YUAN LYU | 2021-06-21 | 1 | -0/+1 |
| | | | |||||
| | * | Add clippy warn needless borrow | YUAN LYU | 2021-06-21 | 1 | -0/+1 |
| | | | |||||
| * | | Remove "default-features=false" thing on tor-rtcompat for now. | Nick Mathewson | 2021-06-24 | 1 | -1/+1 |
| | | | |||||
| * | | Bump version dependencies to 0.0.0 | Nick Mathewson | 2021-06-24 | 1 | -5/+5 |
| | | | |||||
| * | | Remove "publish = false" | Nick Mathewson | 2021-06-24 | 1 | -1/+0 |
| |/ | |||||
| * | Remove most (all?) panics from tor-chanmgr::mgr::map | Nick Mathewson | 2021-06-19 | 1 | -10/+22 |
| | | | | | | Improve testing for cases where change_state() is given a bad function. | ||||
| * | Remove some (but not all) needless dependencies. | Nick Mathewson | 2021-06-17 | 1 | -2/+0 |
| | | |||||
| * | Make a few error types implement Clone | Nick Mathewson | 2021-06-14 | 1 | -2/+9 |
| | | | | | | | | To make this work we have to wrap std::io::Error in an Arc. The benefit of having these errors implement Clone is that we can provide the same Error in response to multiple requests when they are all waiting on the same operation. | ||||
| * | linkspec: Define owned variants of ChanTarget and CircTarget. | Nick Mathewson | 2021-06-13 | 2 | -65/+6 |
| | | |||||
| * | Add noop_method_call warning. | Nick Mathewson | 2021-05-27 | 1 | -0/+1 |
| | | | | | | | This would have saved ahf and me a lot of confusion in debugging a situation where we were cloning a reference of a type that didn't implement Clone. | ||||
| * | Use the "typos" tool to fix some spelling | Nick Mathewson | 2021-05-26 | 2 | -2/+2 |
| | | |||||
| * | Enable cargo_common_metadata warning. | Nick Mathewson | 2021-05-25 | 1 | -0/+1 |
| | | |||||
| * | Add automatically generated README.md files to each crate. | Nick Mathewson | 2021-05-25 | 1 | -0/+20 |
| | | |||||
| * | Module docs for remaining crates | Nick Mathewson | 2021-05-25 | 1 | -2/+9 |
| | | |||||
| * | Give every Cargo.toml a repository field | Nick Mathewson | 2021-05-19 | 1 | -0/+1 |
| | | |||||
| * | Fill in "package.categories" on all Cargo.toml | Nick Mathewson | 2021-05-19 | 1 | -0/+1 |
| | | |||||
| * | Add the "unreachable_pub" lint. | Nick Mathewson | 2021-05-18 | 3 | -12/+14 |
| | | | | | | | This is a somewhat obnoxious change in its scope and requirements, but it makes it easier to understand what the real public and private parts of our APIs are. | ||||
| * | Prefer "relay" to "server" when appropriate. | Nick Mathewson | 2021-05-18 | 2 | -2/+2 |
| | | |||||
| * | Fix documentation warnings. | Nick Mathewson | 2021-05-05 | 1 | -1/+1 |
| | | |||||
| * | Add trait_duplication_in_bounds warning. | Nick Mathewson | 2021-05-03 | 1 | -0/+1 |
| | | |||||
| * | Add unseparated_literal_suffix lint, and fix it. | Nick Mathewson | 2021-05-03 | 1 | -0/+1 |
| | | |||||
| * | Add a few more clippy warnings | Nick Mathewson | 2021-05-03 | 1 | -0/+5 |
| | | |||||
| * | Make the MockNetProvider builder non-consuming. | Nick Mathewson | 2021-05-03 | 1 | -14/+11 |
| | | |||||
| * | Split mocking parts of rtcompat into new rtmock crate. | Nick Mathewson | 2021-05-03 | 2 | -4/+3 |
| | | | | | | Since these parts are testing-only, let's take steps to make sure we don't ship them in production by accident. | ||||
| * | Much-improved tests for tor_chanmgr::builder | Nick Mathewson | 2021-04-30 | 4 | -1/+147 |
| | | | | | | | Now that we have MockNetRuntime and MockSleepRuntime, we can use them to test a channel-builder by replaying the contents of a TLS stream that it will accept. | ||||
| * | Add some more clippy warnings to our list. | Nick Mathewson | 2021-04-27 | 1 | -1/+6 |
| | | |||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 2 | -0/+4 |
| | | | | | | | | | These lints force us to declare our exported enums and exhaustive-looking structs as non-exhaustive (so that we can add to them in the future without breaking our API) or to explicitly disable the warning for a given enum/struct (to say that we _intend_ for additions to be a breaking change). | ||||
| * | cargo fix --edition-idioms | Nick Mathewson | 2021-04-26 | 1 | -1/+1 |
| | | |||||
| * | Another test in ChanMgr, for TargetInfo. | Nick Mathewson | 2021-04-23 | 1 | -0/+19 |
| | | |||||
| * | Refactor and simplify ChanMgr to use AbstractChanMgr. | Nick Mathewson | 2021-04-23 | 7 | -674/+170 |
| | | |||||
| * | Full documentations on the new parts of ChanMgr. | Nick Mathewson | 2021-04-23 | 2 | -24/+157 |
| | | |||||
| * | Start on tests for reactored ChanMsg. | Nick Mathewson | 2021-04-23 | 3 | -50/+350 |
| | | |||||
| * | Begin refactoring ChanMgr to have better separation of concerns | Nick Mathewson | 2021-04-22 | 4 | -0/+290 |
| | | | | | | Additionally: Use futures::future::Shared instead of event_listener. | ||||
| * | Stop using anyhow in tor_chanmgr. | Nick Mathewson | 2021-04-22 | 4 | -17/+33 |
| | | | | | | It seemed like a good idea at first, but we need to be able to tell the difference between these error types more easily. | ||||
| * | Remove the no-longer-needed "global runtime" code. | Nick Mathewson | 2021-04-17 | 1 | -16/+16 |
| | | |||||
| * | Move timer functions into an extension trait. | Nick Mathewson | 2021-04-17 | 1 | -7/+5 |
| | | |||||
