aboutsummaryrefslogtreecommitdiff
path: root/tor-rtcompat
Commit message (Collapse)AuthorAgeFilesLines
* Move all crates into a `crates` subdirectory.Nick Mathewson2021-08-2713-1802/+0
| | | | | This will cause some pain for now, but now is really the best time to do this kind of thing.
* Merge remote-tracking branch 'origin/mr/67' into unwrap_usedNick Mathewson2021-08-272-1/+2
|\
| * WIP: Add the "unwrap_used" lint.S0AndS02021-08-242-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | > 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.
* | Updates for reproducible build docsNick Mathewson2021-08-262-0/+6
| |
* | fix segfault on static binTrinity Pointard2021-08-251-1/+1
| | | | | | | | | | | | see https://github.com/rusqlite/rusqlite/issues/914 sha256: 684ebc4b8c270fc63beba185f6c54ceeb98734f13aa7aeca9b64acb33432a21c
* | make arti availlable as build artifactTrinity Pointard2021-08-251-0/+1
|/ | | | | and make builds reproducible sha256sum: f141c54929a43a31b9ed6b529f6f863aace87f7406818b2f8ffe2b7a5e2803fb
* Revisions based on new documented-panics lint.Nick Mathewson2021-08-181-0/+4
| | | | | I've tried to remove some of possible panics, and improve the documentation for when the others might occur.
* Merge remote-tracking branch 'origin/mr/60'Nick Mathewson2021-08-181-0/+1
|\
| * Add the "missing_panics_doc" lint.S0AndS02021-08-131-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.S0AndS02021-08-171-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_losslessNick Mathewson2021-08-131-1/+1
|
* Add the "cast_lossless" lint.S0AndS02021-08-121-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.
* Sync docs with readmesLennart Kloock2021-08-111-2/+2
|
* Fix previously fixed typos in docs tooLennart Kloock2021-08-101-2/+2
|
* Fix a few typos in tor-rtcompat README.mdLennart Kloock2021-08-101-3/+3
|
* Fix typo in tor-rtcompat README.mdLennart Kloock2021-08-101-1/+1
| | | | Change 'if' to 'is'
* Add unnecessary_wraps to the big warning list.Nick Mathewson2021-08-061-0/+1
|
* Update READMEs.Nick Mathewson2021-08-061-5/+4
|
* Fix typos and other spelling mistakesrls2021-07-316-7/+7
|
* address a bunch of hopefully uncontroversial lintsDaniel Eades2021-07-201-1/+1
|
* Try to re-enable simple_tls test on osx.Nick Mathewson2021-07-152-7/+5
| | | | | | On #111, trinity-1686a points me towards a post on the apple dev forum, suggesting that the problem here is that OSX's SecureTransport API doesn't support PKCS12 files with empty passwords.
* Allow tor-rtcompat to build with no runtimes.Nick Mathewson2021-07-016-98/+172
| | | | | | | | | | | | 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 Mathewson2021-06-271-0/+2
|\
| * Add clippy warn needless pass by valueYUAN LYU2021-06-211-0/+1
| |
| * Add clippy warn needless borrowYUAN LYU2021-06-211-0/+1
| |
* | Remove "publish = false"Nick Mathewson2021-06-241-1/+0
| |
* | Bump tokio-related dependenciesNick Mathewson2021-06-241-2/+2
|/
* Remove some (but not all) needless dependencies.Nick Mathewson2021-06-171-1/+0
|
* Add noop_method_call warning.Nick Mathewson2021-05-271-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.
* Enable cargo_common_metadata warning.Nick Mathewson2021-05-251-0/+1
|
* Add automatically generated README.md files to each crate.Nick Mathewson2021-05-251-0/+112
|
* Add a link tto the tor website to arti blurb.Nick Mathewson2021-05-241-1/+2
|
* Add a conversion from TimeoutError to IoError.Nick Mathewson2021-05-211-0/+6
|
* Add tor-proto docs and tweak docs+apis elsewhere.Nick Mathewson2021-05-211-7/+7
|
* Improve crate-level tor-rtcompat documentationNick Mathewson2021-05-211-30/+125
|
* Remove a redundant feature in tokioNick Mathewson2021-05-201-1/+1
|
* Implement Runtime for a thin wrapper around tokio runtime handlesNick Mathewson2021-05-203-49/+143
| | | | | Having this enables us to use Arti with an externally constructed tokio runtime.
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* Try to avoid a tor-rtcompat publicness warningNick Mathewson2021-05-181-0/+1
|
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-183-4/+2
| | | | | | 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.
* tor-rtcompat: Add missing documentation for async_std.rsNick Mathewson2021-05-071-1/+22
|
* Add trait_duplication_in_bounds warning.Nick Mathewson2021-05-031-0/+1
|
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-032-2/+3
|
* Add a few more clippy warningsNick Mathewson2021-05-031-0/+5
|
* Split mocking parts of rtcompat into new rtmock crate.Nick Mathewson2021-05-039-1560/+1
| | | | | Since these parts are testing-only, let's take steps to make sure we don't ship them in production by accident.
* bump to latest async_ioNick Mathewson2021-05-031-1/+1
|
* Note a limitation in MockSleepProvider::advanceNick Mathewson2021-04-282-5/+7
|
* Remove most pin_project usage in tor_rtcompat.Nick Mathewson2021-04-284-65/+40
|
* Define a runtime wrapper to override the network.Nick Mathewson2021-04-284-0/+104
|
* Add a mock TLS provider.Nick Mathewson2021-04-281-27/+203
|