From 0785626abca9fb89b196961f35d4dfbb6f802436 Mon Sep 17 00:00:00 2001 From: "A. Hobden" Date: Tue, 20 Nov 2018 08:10:26 -0500 Subject: [PATCH] Add copyright (#8) Signed-off-by: Hoverbear --- Cargo.toml | 2 +- examples/raw.rs | 13 +++++++++++++ examples/transaction.rs | 13 +++++++++++++ src/errors.rs | 2 +- src/lib.rs | 13 +++++++++++++ src/raw.rs | 13 +++++++++++++ src/transaction.rs | 13 +++++++++++++ 7 files changed, 67 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8f2a59a..1f48182 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "tikv-client" version = "0.0.0" keywords = ["TiKV", "KV", "distributed-systems"] license = "Apache-2.0" -authors = ["The TiKV Project Developers"] +authors = ["The TiKV Project Authors"] repository = "https://github.com/tikv/client-rust" description = "The rust language implementation of TiKV client." diff --git a/examples/raw.rs b/examples/raw.rs index 4c5887a..c8bfbdf 100644 --- a/examples/raw.rs +++ b/examples/raw.rs @@ -1,3 +1,16 @@ +// Copyright 2018 The TiKV Project Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// See the License for the specific language governing permissions and +// limitations under the License. + extern crate futures; extern crate tikv_client; diff --git a/examples/transaction.rs b/examples/transaction.rs index 032c651..3c77c07 100644 --- a/examples/transaction.rs +++ b/examples/transaction.rs @@ -1,3 +1,16 @@ +// Copyright 2018 The TiKV Project Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// See the License for the specific language governing permissions and +// limitations under the License. + extern crate futures; extern crate tikv_client; diff --git a/src/errors.rs b/src/errors.rs index 02bc4cd..a8d8148 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -1,4 +1,4 @@ -// Copyright 2016 PingCAP, Inc. +// Copyright 2018 The TiKV Project Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/src/lib.rs b/src/lib.rs index 772cc2f..1827b26 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,16 @@ +// Copyright 2018 The TiKV Project Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// See the License for the specific language governing permissions and +// limitations under the License. + extern crate futures; extern crate serde; #[macro_use] diff --git a/src/raw.rs b/src/raw.rs index 18a8ea0..0bad042 100644 --- a/src/raw.rs +++ b/src/raw.rs @@ -1,3 +1,16 @@ +// Copyright 2018 The TiKV Project Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// See the License for the specific language governing permissions and +// limitations under the License. + use std::ops::RangeBounds; use futures::{Future, Poll}; diff --git a/src/transaction.rs b/src/transaction.rs index 6f53efe..ffa4021 100644 --- a/src/transaction.rs +++ b/src/transaction.rs @@ -1,3 +1,16 @@ +// Copyright 2018 The TiKV Project Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// See the License for the specific language governing permissions and +// limitations under the License. + use std::ops::RangeBounds; use futures::{Future, Poll, Stream};