summaryrefslogtreecommitdiff
path: root/tor-client
Commit message (Collapse)AuthorAgeFilesLines
* Rename tor-client to arti-tor-client for now.Nick Mathewson2021-06-242-2/+6
|
* Bump version dependencies to 0.0.0Nick Mathewson2021-06-241-5/+5
|
* Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|
* Fix some warnings about needless & from nightly clippyNick Mathewson2021-06-181-1/+1
|
* Remove some (but not all) needless dependencies.Nick Mathewson2021-06-171-4/+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.
* Use the "typos" tool to fix some spellingNick Mathewson2021-05-262-2/+2
|
* 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/+67
|
* Add a link tto the tor website to arti blurb.Nick Mathewson2021-05-241-1/+2
|
* Add tor-proto docs and tweak docs+apis elsewhere.Nick Mathewson2021-05-211-1/+15
|
* improve crate doc for tor-client.Nick Mathewson2021-05-211-3/+59
|
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* Add the "unreachable_pub" lint.Nick Mathewson2021-05-181-0/+1
| | | | | | 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.
* Check "connection" usage for when stream or channel would be better.Nick Mathewson2021-05-181-5/+6
|
* Remove tor-proto exposure in tor-client API.Nick Mathewson2021-05-181-5/+34
|
* Rename NetDirConfig to DirMgrConfig.Nick Mathewson2021-05-141-2/+2
|
* Add trait_duplication_in_bounds warning.Nick Mathewson2021-05-031-0/+1
|
* Add unseparated_literal_suffix lint, and fix it.Nick Mathewson2021-05-031-0/+1
|
* Add a few more clippy warningsNick Mathewson2021-05-031-0/+5
|
* Fix experimental-api feature after refactoringDavid Goulet2021-05-031-2/+2
| | | | | | | | | Important refactoring happened recently which broke the "experimental-api" feature. Fixes are quite simple. Signed-off-by: David Goulet <[email protected]>
* Add some more clippy warnings to our list.Nick Mathewson2021-04-271-1/+6
|
* Enforce (and obey) clippy lints about exhaustive enums, structs.Nick Mathewson2021-04-271-0/+3
| | | | | | | | 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).
* Refactor and simplify ChanMgr to use AbstractChanMgr.Nick Mathewson2021-04-231-6/+1
|
* Move timer functions into an extension trait.Nick Mathewson2021-04-171-3/+5
|
* Move around the public modules in tor_rtcompat.Nick Mathewson2021-04-171-1/+1
|
* Remove all non-runtime methods in tor_rtcompat.Nick Mathewson2021-04-161-7/+21
|
* Add a "Runtime" parameter to all the manager types.Nick Mathewson2021-04-161-8/+7
| | | | | This is a big change, but it is a step towards our goal of removing tor_rtcompat:: calls directly.
* rtcompat: Make TLS functionality use Runtime traits.Nick Mathewson2021-04-161-1/+6
| | | | | Now there is nothing in principle that you couldn't access from a Runtime implementation.
* circmgr: Add a function to build a circuit by pathDavid Goulet2021-04-071-0/+9
| | | | | | | Public function so an application can use to build a circuit using a custom path. Signed-off-by: David Goulet <[email protected]>
* Remove a few unused dependenciesNick Mathewson2021-04-051-1/+0
|
* DirMgr::netdir() is no longer asyncNick Mathewson2021-04-021-1/+1
| | | | | | | | Since we moved to a non-async mutex(*), we no longer need to worry that this function might need to suspend. (*) This is _not_ safe in general, but it's okay in this case, since we never suspend while holding that mutex: see shared_ref.rs.
* Client: Add a function to expose the current dirmgr.Nick Mathewson2021-03-302-0/+10
| | | | | | | | This function sits behind an `experimental-api` feature so that we don't need to worry about exposing the entire surface of DirMgr to our API consumers. This and the other recent patches are based on work from dgoulet.
* Fix Rust-1.51 clippy warnings about acronyms in camel case.Nick Mathewson2021-03-291-5/+5
| | | | This is painful, but we shouldn't have to do it again.
* Move stream timeout logic into tor-client.Nick Mathewson2021-03-241-3/+6
| | | | | | | | | | This is consistent with the other pieces of tor-proto, which do not handle timeouts on their own. It also lets us remove tor-rtcompat as a dependency from tor-proto, and simplify some of the test cases to use async_test. This commit unindents a lot of test code; use git's "-b" flag to read the parts that matter.
* upgrade to newer version of config crate.Nick Mathewson2021-03-241-1/+1
|
* Move responsibility for knowing about TLS into tor_rtcompat.Nick Mathewson2021-03-231-1/+1
| | | | Now we don't need runtime-specific stuff in tor-chanmgr.
* Refactor tokio implpementation in tor-rtcompat.Nick Mathewson2021-03-231-3/+3
| | | | | | | | | | | Now other crates don't need any 'ifdef tokio' code, since there are wrappers that implement 'futures' right. Technically, the 'futures' traits are in some ways less good than the tokio ones, but we need a consistent API if we want to support WASM someday and keep support for async_std. I'd rather hold out hope for a future version of futures::io working like tokio than to fix ourselves into the tokioverse forever.
* Move our command-line interface into a new crate called "arti".Nick Mathewson2021-03-177-1220/+1
| | | | Closes #106
* Add appropriate categories to some Cargo.toml files.Nick Mathewson2021-03-171-0/+1
|
* Add the tor project as an author.Nick Mathewson2021-03-171-1/+1
|
* Add keywords to each Cargo.tomlNick Mathewson2021-03-171-0/+1
|
* Add a description field to all our Cargo.toml filesNick Mathewson2021-03-171-0/+1
|
* Give it a homepage everyplace.Nick Mathewson2021-03-171-0/+1
|
* Bump a couple of depsNick Mathewson2021-03-131-1/+1
|
* Improve implementation of copy_interactiveNick Mathewson2021-03-121-11/+50
| | | | | | | Previously we'd flush after every write. Now we only flush when the reader has nothing more to tell us. This way we can be sure that we're sending out the data as soon as we can, without leaving any cells partially filled unnecessarily.
* Only enable the `config` features we are using.Nick Mathewson2021-03-101-1/+1
| | | | | This saves us from a lot of extra backends, including an entire extra version of serde (!).
* Use AsyncRead and AsyncWrite in our proxy implementationNick Mathewson2021-03-102-30/+36
|
* Refactor DataStream constituents a bit.Nick Mathewson2021-03-091-1/+1
| | | | | | | | | These new (internal so far) APIs correspond more closely to what we'll need for AsyncRead and AsyncWrite. We also make write methods take a mutable reference to self, since that seems to be (closer to) what the AsyncRead/AsyncWrite code expects.
* Bump dependencies with "cargo upgrade"Nick Mathewson2021-03-061-1/+1
|