summaryrefslogtreecommitdiffhomepage
path: root/mullvad-api/src/address_cache.rs
AgeCommit message (Collapse)AuthorFilesLines
2025-01-02Remove global API endpointEmīls1-15/+14
2024-12-02Remove DNS fallback except for conncheckDavid Lönnhager1-2/+18
2024-12-02Make address cache constructor infallibleDavid Lönnhager1-7/+5
2024-02-27Replace err_derive with thiserrorJoakim Hulthe1-9/+8
`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-19Move responsibility of updating the API IP from REST handle to the daemonDavid Lönnhager1-0/+2
2024-02-14Fix talpid-time for iOS, add FFI for mullvad-apiEmīls1-0/+5
2024-01-11Synchronize `mullvad-api` and `mullvad-daemon` when the `api-override`Markus Pettersson1-2/+2
feature is enabled Move the logic for using overridden API endpoints for API calls from `mullvad-api::rest` to `mullvad_daemon::api`. This is in line with how the interaction between the two crates work for a normal release build, i.e. when the `api-override` feature is disabled. This commit also removes references to `force_direct_connection` in the Android code. The flag does not exist in the `mullvad-*` rust crates anymore, so it would be erroneous to try to serialize/deserialize the value from the Android client.
2023-03-29Remove getters and setters from SettingsPersisterDavid Lönnhager1-1/+1
2022-06-21Fix the large majority of clippy warningsJonathan1-17/+16
This commit fixes most of the remaining clippy warnings in the codebase. These warnings were the more semantically difficult ones to fix. There are some warnings that remain from the rebase that will be fixed in the upcoming PR.
2022-06-20Add abstraction for atomic file I/ODavid Lönnhager1-6/+2
2022-06-13Perform a clippy --fixjonathan1-2/+2
This is a giant commit which performs only a clippy --fix. Auditing can happen in two ways, either by reading every line or by running a `cargo clippy --fix` on the previous commit and make sure that the result is the same.
2022-03-23Rename mullvad-rpc to mullvad-apiDavid Lönnhager1-0/+118