| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | cirmgr: Move usage-related code into a submodule, and refactor. | Nick Mathewson | 2021-06-02 | 3 | -137/+168 | |
| | | ||||||
| * | 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. | |||||
| * | 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/+27 | |
| | | ||||||
| * | Module docs for remaining crates | Nick Mathewson | 2021-05-25 | 1 | -3/+16 | |
| | | ||||||
| * | Use macros and types to improve handling of Netdir parameters. | Nick Mathewson | 2021-05-25 | 2 | -4/+4 | |
| | | | | | (Squashed from typed-netdir-params) | |||||
| * | Broaden type of from_target_ports | Nick Mathewson | 2021-05-20 | 1 | -2/+2 | |
| | | ||||||
| * | Refactor TorPath code to have explicit constructors. | Alexander Færøy | 2021-05-20 | 4 | -26/+81 | |
| | | | | | | | | | | This patch refactors the internal representation of the TorPath type to use an enum for representing its state. We add explicit constructor methods to create the different types of path's, such that client users can write code that uses different paths based on their need. This work was done together with Nick as part of the Arti hackathon. | |||||
| * | 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 | 1 | -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. | |||||
| * | Prefer "relay" over "node" in most circumstances. | Nick Mathewson | 2021-05-18 | 2 | -3/+3 | |
| | | ||||||
| * | Resolve clippy warnings from Rust 1.52. | Nick Mathewson | 2021-05-07 | 1 | -8/+4 | |
| | | | | | | | | | | | Rust 1.52 just came out, and there are new clippy lints to deal with: * It spots more cases when we could use Option::map * It spots more cases when we could use Iterator::flatten * When we build a struct instance, it wants us to list the fields in the same order that the struct declares them. | |||||
| * | 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 | |
| | | ||||||
| * | Fix experimental-api feature after refactoring | David Goulet | 2021-05-03 | 1 | -3/+5 | |
| | | | | | | | | | | 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 Mathewson | 2021-04-27 | 1 | -1/+6 | |
| | | ||||||
| * | Enforce (and obey) clippy lints about exhaustive enums, structs. | Nick Mathewson | 2021-04-27 | 4 | -0/+7 | |
| | | | | | | | | | 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). | |||||
| * | Move timer functions into an extension trait. | Nick Mathewson | 2021-04-17 | 1 | -7/+5 | |
| | | ||||||
| * | Move around the public modules in tor_rtcompat. | Nick Mathewson | 2021-04-17 | 2 | -2/+2 | |
| | | ||||||
| * | Remove all non-runtime methods in tor_rtcompat. | Nick Mathewson | 2021-04-16 | 2 | -6/+18 | |
| | | ||||||
| * | Add a "Runtime" parameter to all the manager types. | Nick Mathewson | 2021-04-16 | 2 | -9/+12 | |
| | | | | | | This is a big change, but it is a step towards our goal of removing tor_rtcompat:: calls directly. | |||||
| * | circmgr: Add missing rng trait to build_path() | David Goulet | 2021-04-09 | 1 | -1/+4 | |
| | | | | | Signed-off-by: David Goulet <[email protected]> | |||||
| * | circmgr: Add a function to build a circuit by path | David Goulet | 2021-04-07 | 2 | -0/+22 | |
| | | | | | | | | Public function so an application can use to build a circuit using a custom path. Signed-off-by: David Goulet <[email protected]> | |||||
| * | Fix a bunch more new clippy lints in Rust 1.51 | Nick Mathewson | 2021-03-29 | 1 | -6/+6 | |
| | | | | | | | | | 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![]. | |||||
| * | Use Arc::clone() explicitly with port policies | Nick Mathewson | 2021-03-29 | 1 | -2/+2 | |
| | | ||||||
| * | Don't copy exit policies around; instead use Arc. | George Kadianakis | 2021-03-29 | 2 | -5/+2 | |
| | | ||||||
| * | Add a compatibility layer so we can upgrade rand_core. | Nick Mathewson | 2021-03-18 | 1 | -1/+1 | |
| | | | | | | | dalek-crypto is stuck on rand_core 0.5.1, so we've been stuck too. This commit introduces a compatibility module so that we can wrap new rand_core instances to make them backward compatible. | |||||
| * | Add the tor project as an author. | Nick Mathewson | 2021-03-17 | 1 | -1/+1 | |
| | | ||||||
| * | Add keywords to each Cargo.toml | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Add a description field to all our Cargo.toml files | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | Give it a homepage everyplace. | Nick Mathewson | 2021-03-17 | 1 | -0/+1 | |
| | | ||||||
| * | upgrade async-trait | Nick Mathewson | 2021-03-09 | 1 | -1/+1 | |
| | | ||||||
| * | Bump dependencies with "cargo upgrade" | Nick Mathewson | 2021-03-06 | 1 | -1/+1 | |
| | | ||||||
| * | Use expect() instead of unwrap() in tor-circmgr | Nick Mathewson | 2021-03-04 | 1 | -4/+12 | |
| | | ||||||
| * | Port to work with tokio or async-std. | Nick Mathewson | 2021-03-02 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | This is fairly ugly and I think I'll need to mess around with the feature configuration a while until we get something that's pleasant to develop with. This still seems like a good idea, though, since we _will_ need to be executor-agnostic in the end, or we'll have no way to handle wasm or embedded environments. Later down the road, we'll probably want to use futures::Executor or futures::Spawn more than having global entry points in tor_rtcompat. That would probably make our feature story simpler. Tokio is the default now, since tokio seems to be more heavily used for performance-critical stuff. This patch breaks tests; the next one will fix them, albeit questionably. | |||||
| * | Update to latest futures, once_cell | Nick Mathewson | 2021-02-23 | 1 | -1/+1 | |
| | | ||||||
| * | Update some dependencies. | Nick Mathewson | 2021-02-19 | 1 | -1/+1 | |
| | | ||||||
| * | Make authorities and fallbacks configurable. | Nick Mathewson | 2021-02-11 | 2 | -4/+6 | |
| | | | | | | | | | | | This commit adds configuration options for these values, with the right defaults, and uses those options instead of built-in functions to set them. We also remove the function to extract information from chutney directories: now that arti is configurable, it can be chutney's job to make its own network configurations. | |||||
| * | bump serde and log | Nick Mathewson | 2021-02-01 | 1 | -1/+1 | |
| | | ||||||
| * | More logging in circmgr. | Nick Mathewson | 2021-01-26 | 1 | -5/+25 | |
| | | ||||||
| * | require latest futures crate | Nick Mathewson | 2021-01-15 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade a few more dependencies. | Nick Mathewson | 2021-01-13 | 1 | -1/+1 | |
| | | ||||||
| * | Upgrade a few dependencies. | Nick Mathewson | 2021-01-13 | 1 | -3/+3 | |
| | | ||||||
| * | cargo upgrade. | Nick Mathewson | 2020-12-30 | 1 | -2/+2 | |
| | | ||||||
| * | Cleanup on DirInfo::circ_params. | Nick Mathewson | 2020-12-22 | 1 | -8/+15 | |
| | | ||||||
| * | Implement the "circwindow" and "ExtendByEd25519ID" parameters | Nick Mathewson | 2020-12-22 | 2 | -7/+28 | |
| | | | | | | | These necessitated a little complexity for our circuit creation/extension API; we might want to refactor that down the road. | |||||
| * | Check ipv6 exit policies when trying to connect to an ipv6 port specifically | Nick Mathewson | 2020-12-22 | 2 | -1/+10 | |
| | | ||||||
| * | upgrade to latest anyhow | Nick Mathewson | 2020-12-21 | 1 | -1/+1 | |
| | | ||||||
