diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2020-02-06 10:07:55 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2020-02-06 15:08:20 +0100 |
| commit | 033e58637a99a84a7ace29ff1c23bf7c3b456d48 (patch) | |
| tree | e881ae68ac843427a46de173698c2eb9e31056c7 | |
| parent | 8ced6b2a795352e99d212292c17378a7885b943a (diff) | |
| download | mullvadvpn-033e58637a99a84a7ace29ff1c23bf7c3b456d48.tar.xz mullvadvpn-033e58637a99a84a7ace29ff1c23bf7c3b456d48.zip | |
Remove licence headers from Rust source code
According to the licence anyone who copies the source
must attach the header anyway is my understanding
| -rw-r--r-- | mullvad-cli/src/main.rs | 8 | ||||
| -rw-r--r-- | mullvad-daemon/src/lib.rs | 8 | ||||
| -rw-r--r-- | mullvad-daemon/src/main.rs | 8 | ||||
| -rw-r--r-- | mullvad-problem-report/src/lib.rs | 8 | ||||
| -rw-r--r-- | mullvad-problem-report/src/main.rs | 8 | ||||
| -rw-r--r-- | mullvad-rpc/src/lib.rs | 8 | ||||
| -rw-r--r-- | mullvad-types/src/lib.rs | 8 | ||||
| -rw-r--r-- | talpid-core/src/lib.rs | 12 | ||||
| -rw-r--r-- | talpid-core/src/offline/windows.rs | 8 | ||||
| -rw-r--r-- | talpid-ipc/src/lib.rs | 8 | ||||
| -rw-r--r-- | talpid-openvpn-plugin/src/lib.rs | 8 | ||||
| -rw-r--r-- | talpid-types/src/lib.rs | 8 |
12 files changed, 2 insertions, 98 deletions
diff --git a/mullvad-cli/src/main.rs b/mullvad-cli/src/main.rs index 7547b0b1cd..b84307c475 100644 --- a/mullvad-cli/src/main.rs +++ b/mullvad-cli/src/main.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] use clap::{crate_authors, crate_description, crate_name}; diff --git a/mullvad-daemon/src/lib.rs b/mullvad-daemon/src/lib.rs index d116c635f0..8174b5c816 100644 --- a/mullvad-daemon/src/lib.rs +++ b/mullvad-daemon/src/lib.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] #[macro_use] diff --git a/mullvad-daemon/src/main.rs b/mullvad-daemon/src/main.rs index ea44a51656..4fd4ac6796 100644 --- a/mullvad-daemon/src/main.rs +++ b/mullvad-daemon/src/main.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] use log::{debug, error, info, warn}; diff --git a/mullvad-problem-report/src/lib.rs b/mullvad-problem-report/src/lib.rs index a28cb05cb5..96d181bc11 100644 --- a/mullvad-problem-report/src/lib.rs +++ b/mullvad-problem-report/src/lib.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] use lazy_static::lazy_static; diff --git a/mullvad-problem-report/src/main.rs b/mullvad-problem-report/src/main.rs index 7703e98adc..457133fc49 100644 --- a/mullvad-problem-report/src/main.rs +++ b/mullvad-problem-report/src/main.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] use clap::{crate_authors, crate_name}; diff --git a/mullvad-rpc/src/lib.rs b/mullvad-rpc/src/lib.rs index 23dd2b6bea..65d8368502 100644 --- a/mullvad-rpc/src/lib.rs +++ b/mullvad-rpc/src/lib.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] use chrono::{offset::Utc, DateTime}; diff --git a/mullvad-types/src/lib.rs b/mullvad-types/src/lib.rs index 3456c5579b..d77206fc31 100644 --- a/mullvad-types/src/lib.rs +++ b/mullvad-types/src/lib.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] pub mod account; diff --git a/talpid-core/src/lib.rs b/talpid-core/src/lib.rs index cd88277d9d..9ab260eb9a 100644 --- a/talpid-core/src/lib.rs +++ b/talpid-core/src/lib.rs @@ -1,16 +1,8 @@ +//! The core components of the talpidaemon VPN client. + #![deny(missing_docs)] #![deny(rust_2018_idioms)] -//! The core components of the talpidaemon VPN client. -//! -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - /// Misc FFI utilities. #[cfg(windows)] #[macro_use] diff --git a/talpid-core/src/offline/windows.rs b/talpid-core/src/offline/windows.rs index adcd14ce10..256fccfdde 100644 --- a/talpid-core/src/offline/windows.rs +++ b/talpid-core/src/offline/windows.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2018 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - use crate::{logging::windows::log_sink, tunnel_state_machine::TunnelCommand, winnet}; use futures::sync::mpsc::UnboundedSender; use parking_lot::Mutex; diff --git a/talpid-ipc/src/lib.rs b/talpid-ipc/src/lib.rs index 1edb88fd42..83ddd03991 100644 --- a/talpid-ipc/src/lib.rs +++ b/talpid-ipc/src/lib.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] use futures::Future; diff --git a/talpid-openvpn-plugin/src/lib.rs b/talpid-openvpn-plugin/src/lib.rs index a26ca29982..9725cefc4a 100644 --- a/talpid-openvpn-plugin/src/lib.rs +++ b/talpid-openvpn-plugin/src/lib.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] use openvpn_plugin::{openvpn_plugin, EventResult, EventType}; diff --git a/talpid-types/src/lib.rs b/talpid-types/src/lib.rs index 784cc16bdb..d333ecca91 100644 --- a/talpid-types/src/lib.rs +++ b/talpid-types/src/lib.rs @@ -1,11 +1,3 @@ -//! # License -//! -//! Copyright (C) 2017 Amagicom AB -//! -//! This program is free software: you can redistribute it and/or modify it under the terms of the -//! GNU General Public License as published by the Free Software Foundation, either version 3 of -//! the License, or (at your option) any later version. - #![deny(rust_2018_idioms)] use std::{error::Error, fmt}; |
