aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Hall-Andersen <mathias@hall-andersen.dk>2020-07-06 14:49:57 +0200
committerMathias Hall-Andersen <mathias@hall-andersen.dk>2020-07-06 14:49:57 +0200
commita7dea4f2b4ef4169b3c11360b0cdff83ae2034f7 (patch)
tree7f4424bc93c0c176192639c7e9523dd7838fde0f
parentReplace RwLock<HashMap> with DashMap in handshake (diff)
downloadwireguard-rs-a7dea4f2b4ef4169b3c11360b0cdff83ae2034f7.tar.xz
wireguard-rs-a7dea4f2b4ef4169b3c11360b0cdff83ae2034f7.zip
Added MIT license
-rw-r--r--Cargo.toml2
-rw-r--r--LICENSE21
2 files changed, 23 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 8da2f84..598d537 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -3,6 +3,7 @@ name = "wireguard-rs"
version = "0.1.4"
authors = ["Mathias Hall-Andersen <mathias@hall-andersen.dk>"]
edition = "2018"
+license = "MIT"
[dependencies]
hex = "0.4"
@@ -26,6 +27,7 @@ env_logger = "0.7"
num_cpus = "^1.10"
crossbeam-channel = "0.4"
dashmap = "3.11"
+parking_lot = "0.10.2"
cpuprofiler = { version = "*", optional = true }
[dependencies.treebitmap]
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..2d4d3b8
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) 2020 Mathias Hall-Andersen
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.