diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-12-01 13:57:11 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-12-01 15:39:11 +0100 |
| commit | 160cb41d74c12e18b58358736aff64057d6d75dd (patch) | |
| tree | 64d0206470f3bb59293920ad47ed303437ddc07f | |
| parent | 6568bde571fc7bfd3d6bb3884c377570dc4f2e53 (diff) | |
| download | mullvadvpn-160cb41d74c12e18b58358736aff64057d6d75dd.tar.xz mullvadvpn-160cb41d74c12e18b58358736aff64057d6d75dd.zip | |
Rename mullvadd back to mullvad-daemon
| -rw-r--r-- | mullvad-daemon/Cargo.toml | 12 | ||||
| -rw-r--r-- | mullvad-daemon/src/cli.rs | 2 | ||||
| -rw-r--r-- | mullvad-daemon/src/main.rs | 4 |
3 files changed, 2 insertions, 16 deletions
diff --git a/mullvad-daemon/Cargo.toml b/mullvad-daemon/Cargo.toml index 3e7e52970e..dd52e758e7 100644 --- a/mullvad-daemon/Cargo.toml +++ b/mullvad-daemon/Cargo.toml @@ -6,18 +6,6 @@ description = "Mullvad VPN backend daemon. Runs and controls the VPN tunnels." license = "GPL-3.0" build = "build.rs" -[[bin]] -name = "mullvadd" -path = "src/main.rs" - -[[bin]] -name = "problem-report" -path = "src/bin/problem-report.rs" - -[[bin]] -name = "list-relays" -path = "src/bin/list-relays.rs" - [dependencies] app_dirs = "1.1" chrono = { version = "0.4", features = ["serde"] } diff --git a/mullvad-daemon/src/cli.rs b/mullvad-daemon/src/cli.rs index d3350ad90f..b4f7506692 100644 --- a/mullvad-daemon/src/cli.rs +++ b/mullvad-daemon/src/cli.rs @@ -29,7 +29,7 @@ pub fn get_config() -> Config { } fn create_app() -> App<'static, 'static> { - App::new(::CRATE_NAME) + App::new(crate_name!()) .version(crate_version!()) .author(crate_authors!()) .about(crate_description!()) diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs index f059b07379..2adcb0a9b7 100644 --- a/mullvad-daemon/src/main.rs +++ b/mullvad-daemon/src/main.rs @@ -113,10 +113,8 @@ lazy_static! { static ref RELAY_CACHE_UPDATE_TIMEOUT: Duration = Duration::from_millis(3000); } -const CRATE_NAME: &str = "mullvadd"; - static APP_INFO: AppInfo = AppInfo { - name: CRATE_NAME, + name: crate_name!(), author: "Mullvad", }; |
