summaryrefslogtreecommitdiff
path: root/tor-linkspec
Commit message (Collapse)AuthorAgeFilesLines
* Add version="0.0.0" to dependencies that were missing itNick Mathewson2021-06-241-3/+3
|
* Remove "publish = false"Nick Mathewson2021-06-241-1/+0
|
* linkspec: Define owned variants of ChanTarget and CircTarget.Nick Mathewson2021-06-133-0/+133
|
* 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/+41
|
* fix a doc link in tor-linkspec.Nick Mathewson2021-05-241-1/+1
|
* improve crate docs for tor-linkspecNick Mathewson2021-05-241-4/+36
|
* Give every Cargo.toml a repository fieldNick Mathewson2021-05-191-0/+1
|
* Fill in "package.categories" on all Cargo.tomlNick 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.
* Fix some warnings from nightly clippyNick Mathewson2021-05-071-4/+1
|
* 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
|
* 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/+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).
* Fix a bunch more new clippy lints in Rust 1.51Nick Mathewson2021-03-291-3/+4
| | | | | | | | The major types are: * You implemented Into when you should have implemented From. * You sliced a slice when you didn't have to. * You said Ok(x?) when you could have said x. * You said Vec::new(); push(); push(); when you could have said vec![].
* Fix Rust-1.51 clippy warnings about acronyms in camel case.Nick Mathewson2021-03-292-7/+7
| | | | This is painful, but we shouldn't have to do it again.
* Rename Rsa{Identity,Signature} to fix clippy warning.Nick Mathewson2021-03-292-10/+10
|
* 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
|
* Change how we sort link specifiers in extend cellsNick Mathewson2021-03-041-7/+6
| | | | | Instead of implementing a dubious PartialOrd for link spec, add a sorting function and call that explicitly.
* Improvements to Relay type in tor-netdir.Nick Mathewson2020-10-192-8/+24
| | | | | | | | | | | Now, a Relay is always valid. This required some changes to the API: all_relays() has to return a new UncheckedRelay type that might or might not be valid, and the functions on Relay and ChanTarget that return ed25519 identities need to return an Ed25519Identity, not an ed25519::PublicKey. This change required some new encoding/decoding/conversion functions on Ed25519Identity.
* Explain problems with APIs in linkspec::traits.Nick Mathewson2020-10-181-2/+6
|
* Mark must-resolve XXXX issues with "XXXXM3".Nick Mathewson2020-10-181-2/+2
| | | | | | | | | | "M3" is for "milestone 3" -- my target to fix the technical debt that I think will be bad if we ship even a pre-alpha with it. These aren't necessarily _all_ must-resolve, but they're all must-look-at. Closes #15
* tor-linkspec: remove a completed TODONick Mathewson2020-10-181-2/+0
|
* Tests for CircTarget::linkspecs()Nick Mathewson2020-09-281-0/+89
|
* Rename some identifiers in tor-linkspec.Nick Mathewson2020-09-281-9/+9
| | | | By convention, rust accessor functions don't start with 'get'.
* Rename ExtendTarget to CircTarget.Nick Mathewson2020-09-282-3/+3
|
* Add test vectors for a few relay message types.Nick Mathewson2020-09-261-1/+6
| | | | | I generated these by running an instrumented version of Tor through chutney.
* Run cargo upgrade.Nick Mathewson2020-09-261-1/+1
|
* Document private members in most cratesNick Mathewson2020-09-243-2/+12
|
* A few tests for tor-linkspecNick Mathewson2020-09-232-0/+68
|
* Sort linkspecs in the same order as tor doesNick Mathewson2020-09-172-2/+24
|
* Make more types implement Debug.Nick Mathewson2020-09-121-0/+1
|
* New "linkspec" module to encapsulate info needed to connect/extend.Nick Mathewson2020-09-084-0/+177