summaryrefslogtreecommitdiffhomepage
path: root/Cargo.toml
AgeCommit message (Collapse)AuthorFilesLines
2024-04-16Remove duplicate workspace memberDavid Lönnhager1-1/+0
2024-04-16Add DAITA Windows client and updated tuncfgDavid Lönnhager1-0/+1
2024-04-04Add macros for implementing `Intersection` traitSebastian Holmin1-0/+1
2024-04-03Enable single-use-lifetimes rustc lintLinus Färnstrand1-0/+1
Removes superfluous lifetime definitions. Simplifying the code
2024-04-02Enable more of the Allowed-by-default lints in rustcLinus Färnstrand1-1/+10
* macro_use_extern_crate - Forbid #[macro_use] to bring macros into global scope. Even using `extern crate` is deprecated by now, so just extra protection against that * explicit_outlives_requirements - Warn aginst explicit lifetime bounds that can be inferred from the code. Keeps noise away. * absolute_paths_not_starting_with_crate - Catches Rust 2015 style absolute paths and denies them. * missing_abi - Force explicitly stating the ABI of `extern` items. Less implicit code * unused_lifetimes - Warn if you have lifetimes that are not used. Same reason as warning against unused variables * unused_macro_rules - Warn if you have a declarative macro with a rule that is never used. Basically same reason as warning on unused variables. Removes dead code
2024-04-02Deny non-ascii Rust identifiersLinus Färnstrand1-0/+5
Prevents some cases of supply chain attacks where code is made to look like one thing, but does something else
2024-03-27Refactor `mullvad-relay-selector`Markus Pettersson1-0/+2
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-22Bump "rust-version" to 1.77 since the containers use that nowLinus Färnstrand1-1/+1
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-1/+1
`err_derive` is unmaintained and will probably stop working with rust edition 2024. `thiserror` is almost a drop-in replacement. This commit simply replaces all occurences of `derive(err_derive::Error)` with `derive(thiserror::Error)` and fixes the attributes, but the Error and Display impls should be identical.
2024-02-15Add `talpid-future` crateMarkus Pettersson1-8/+9
Refactor some parts of `talpid-core` to `talpid-future`.
2024-01-25Configure cargo to strip the binaries in release modeLinus Färnstrand1-0/+1
2024-01-22Bump `clap` and `clap_complete`Sebastian Holmin1-1/+1
2024-01-16Add rust-version to all Cargo.tomlLinus Färnstrand1-0/+1
2024-01-09Remove version and publish cargo metadataLinus Färnstrand1-2/+0
Since Rust 1.75.0 the `version` field is optional. The version defaults to "0.0.0" if it's not specified, and `publish` defaults to false if no version has been given. So by not specifying a version we get both `version = "0.0.0" and `publish = false` "for free"
2024-01-04Add workspace level lintsLinus Färnstrand1-0/+6
2023-12-11Categorize files based on functionalitiesmojganii1-1/+1
2023-12-11Moving MullvadTransport into MullvadRESTmojganii1-1/+1
2023-10-20Move talpid-windows-net into talpid-windowsDavid Lönnhager1-1/+1
2023-10-11Make `once_cell` a workspace dependencyMarkus Pettersson1-0/+1
2023-09-11Move log depedency to workspace toml fileDavid Lönnhager1-0/+1
2023-09-11Make env_logger a workspace dependencyDavid Lönnhager1-0/+1
2023-09-11Make err-derive a workspace dependencyDavid Lönnhager1-0/+2
2023-09-11Update tonic and prostDavid Lönnhager1-4/+4
2023-08-28Update shadowsocks to 1.16Emīls1-0/+3
2023-08-08Upgrade windows-sys to 0.48Linus Färnstrand1-1/+1
2023-08-07Make clap a workspace dependency and activate features used by allLinus Färnstrand1-0/+1
Both mullvad-setup and mullvad-problem-report had not specified the "derive" feature. Moving it to workspace dependency is probably nicer.
2023-08-02Make chrono a workspace dependency and fix featuresLinus Färnstrand1-0/+2
2023-08-01Move windows-sys to a workspace dependencyLinus Färnstrand1-0/+3
2023-07-14Move tonic and related crates to workspace dependenciesLinus Färnstrand1-0/+6
2023-07-14Move tokio dependency to be a workspace dependencyLinus Färnstrand1-0/+3
2023-07-14Set package fields in workspace and inherit in packagesLinus Färnstrand1-0/+8
2023-07-11Add bindings for tunnel obfuscator and a testAndrej Mihajlov1-0/+1
2023-05-29Introduce MullvadTransport and move Shadowsocks there, share ↵Bug Magnet1-1/+1
TransportProvider implementation
2023-05-22Add shadowsocks-proxy crateEmīls1-0/+1
2023-03-29Remove getters and setters from SettingsPersisterDavid Lönnhager1-0/+1
2023-02-27Retrieve system app dir path from mullvad-paths in cleanup pluginDavid Lönnhager1-0/+1
using mullvad-nsis
2022-11-07Split up talpid-coreEmīls Piņķis1-0/+5
2022-10-10Add initial mullvad-version crateLinus Färnstrand1-0/+1
2022-06-14Rename talpid-relay-config-client to talpid-tunnel-config-clientDavid Lönnhager1-1/+1
2022-06-14Switch from liboqs to classic-mceliece-rustDavid Lönnhager1-0/+5
2022-06-14Add relay feature gRPC clientDavid Lönnhager1-0/+1
2022-04-26Move the relay selector to its own crateDavid Lönnhager1-0/+1
2022-04-11Add talpid-time crateDavid Lönnhager1-0/+1
2022-04-05Delete all references to Shadowsocks binariesDavid Lönnhager1-1/+0
2022-03-24Add tunnel-obfuscation crateOdd Stranne1-0/+1
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-1/+1
2022-02-04Explicitly set resolver version for workspaceDavid Lönnhager1-0/+1
2022-02-03Enable LTO and opt-level=3 in the Rust workspaceLinus Färnstrand1-6/+2
2021-12-13Remove mullvad-testsEmīls Piņķis1-1/+0
2021-01-28Rename mullvad-platform-metadataEmīls1-1/+1