From eda6ea846f80d29c52b22ebf31810e4efa543651 Mon Sep 17 00:00:00 2001 From: Vurich Date: Mon, 11 Dec 2017 18:19:25 +0100 Subject: [PATCH] Fix licensing --- circular-buffer/Cargo.toml | 2 +- circular-buffer/src/lib.rs | 20 ++++++++++++++++++++ multiplex-rs/Cargo.toml | 2 +- varint-rs/src/lib.rs | 20 ++++++++++++++++++++ 4 files changed, 42 insertions(+), 2 deletions(-) diff --git a/circular-buffer/Cargo.toml b/circular-buffer/Cargo.toml index 01490924..d0b977c4 100644 --- a/circular-buffer/Cargo.toml +++ b/circular-buffer/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "circular-buffer" version = "0.1.0" -authors = ["Vurich "] +authors = ["Parity Technologies "] [dependencies] smallvec = "0.5.0" \ No newline at end of file diff --git a/circular-buffer/src/lib.rs b/circular-buffer/src/lib.rs index 00eaebc0..01b570f6 100644 --- a/circular-buffer/src/lib.rs +++ b/circular-buffer/src/lib.rs @@ -1,3 +1,23 @@ +// Copyright 2017 Parity Technologies (UK) Ltd. +// +// 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. + #![warn(missing_docs)] //! # `circular-buffer` diff --git a/multiplex-rs/Cargo.toml b/multiplex-rs/Cargo.toml index cbfcabe1..57dccefd 100644 --- a/multiplex-rs/Cargo.toml +++ b/multiplex-rs/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "multiplex" version = "0.1.0" -authors = ["Vurich "] +authors = ["Parity Technologies "] [dependencies] bytes = "0.4.5" diff --git a/varint-rs/src/lib.rs b/varint-rs/src/lib.rs index 9b9c521d..92493622 100644 --- a/varint-rs/src/lib.rs +++ b/varint-rs/src/lib.rs @@ -1,3 +1,23 @@ +// Copyright 2017 Parity Technologies (UK) Ltd. +// +// 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. + #![warn(missing_docs)] //! Encoding and decoding state machines for protobuf varints