summaryrefslogtreecommitdiffhomepage
path: root/mullvad-daemon
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-12-04 10:17:08 +0100
committerLinus Färnstrand <linus@mullvad.net>2017-12-04 10:17:08 +0100
commit08530bb297f5f1faff0ca5f6b68d33af03b217ea (patch)
treeb1c27539630533ea6967d9b8a1f62f7be8081da9 /mullvad-daemon
parent6568bde571fc7bfd3d6bb3884c377570dc4f2e53 (diff)
parent1134c709e4a933111ff4246fc824bf423eb7b782 (diff)
downloadmullvadvpn-08530bb297f5f1faff0ca5f6b68d33af03b217ea.tar.xz
mullvadvpn-08530bb297f5f1faff0ca5f6b68d33af03b217ea.zip
Merge branch 'rename-backend-binary'
Diffstat (limited to 'mullvad-daemon')
-rw-r--r--mullvad-daemon/Cargo.toml12
-rw-r--r--mullvad-daemon/src/cli.rs2
-rw-r--r--mullvad-daemon/src/main.rs4
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",
};