summaryrefslogtreecommitdiffhomepage
path: root/talpid-future
AgeCommit message (Collapse)AuthorFilesLines
2025-09-23Upgrade `rand` to `0.9` in `talpid-future`Markus Pettersson2-3/+3
2025-07-15Fix `collapsible_if` clippy lintMarkus Pettersson1-13/+15
2025-07-10Run `cargo fmt`Sebastian Holmin1-1/+1
2024-03-27Refactor `mullvad-relay-selector`Markus Pettersson1-1/+1
Implement a system built on 'queries' for selecting appropriate relays. A query is a set of constraints which dictates which relay(s) that *can* be chosen by the relay selector. The user's settings can naturally be expressed as a query. The semantics of merging two queries in a way that always prefer user settings is defined by the new `Intersection` trait. Split `mullvad-relay-selector` into several modules: - `query.rs`: Definition of a query on different types of relays. This module is integral to the new API of `mullvad-relay-selector` - `matcher.rs`: Logic for filtering out candidate relays based on a query. - `detailer.rs`: Logic for deriving connection details for the selected relay. - `tests/`: Integration tests for the new relay selector. These tests only use the public APIs of `RelaySelector` and make sure that the output matches the expected output in different scenarios.
2024-03-13retry: remove unnecessary 'static lifetimesAndrej Mihajlov1-3/+3
2024-02-15Add `talpid-future` crateMarkus Pettersson3-0/+278
Refactor some parts of `talpid-core` to `talpid-future`.