Skip to content

Commit

Permalink
Add macros for implementing Intersection trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Serock3 authored and MarkusPettersson98 committed Apr 4, 2024
1 parent 5e1558d commit 1fb587d
Show file tree
Hide file tree
Showing 13 changed files with 285 additions and 284 deletions.
11 changes: 11 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ members = [
"mullvad-relay-selector",
"mullvad-setup",
"mullvad-types",
"mullvad-types/intersection-derive",
"mullvad-version",
"talpid-core",
"talpid-dbus",
Expand Down
1 change: 1 addition & 0 deletions mullvad-relay-selector/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ serde_json = "1.0"

talpid-types = { path = "../talpid-types" }
mullvad-types = { path = "../mullvad-types" }
intersection-derive = { path = "../mullvad-types/intersection-derive"}

[dev-dependencies]
proptest = { workspace = true }
4 changes: 2 additions & 2 deletions mullvad-relay-selector/src/relay_selector/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ use mullvad_types::{
},
relay_list::{Relay, RelayEndpointData, RelayList},
settings::Settings,
CustomTunnelEndpoint,
CustomTunnelEndpoint, Intersection,
};
use talpid_types::{
net::{
Expand All @@ -43,7 +43,7 @@ use self::{
detailer::{openvpn_endpoint, wireguard_endpoint},
matcher::{filter_matching_bridges, filter_matching_relay_list},
parsed_relays::ParsedRelays,
query::{BridgeQuery, Intersection, OpenVpnRelayQuery, RelayQuery, WireguardRelayQuery},
query::{BridgeQuery, OpenVpnRelayQuery, RelayQuery, WireguardRelayQuery},
};

/// [`RETRY_ORDER`] defines an ordered set of relay parameters which the relay selector should
Expand Down
Loading

0 comments on commit 1fb587d

Please sign in to comment.