summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFerris Tseng <ferristseng@fastmail.fm>2021-02-23 23:50:30 -0500
committerFerris Tseng <ferristseng@fastmail.fm>2021-02-23 23:50:30 -0500
commitfc3cd21efe52b0575617bcd249b30e8846ad2278 (patch)
tree8f667651fa405ef549145c575806e4ed0c808b5e
parentdd03b0edb4928894b64b85cc44a4984a721650c2 (diff)
update copyright headers
-rw-r--r--ipfs-api-backend-actix/src/backend.rs8
-rw-r--r--ipfs-api-backend-actix/src/error.rs2
-rw-r--r--ipfs-api-backend-actix/src/lib.rs2
-rw-r--r--ipfs-api-backend-hyper/src/backend.rs8
-rw-r--r--ipfs-api-backend-hyper/src/error.rs2
-rw-r--r--ipfs-api-backend-hyper/src/lib.rs2
6 files changed, 20 insertions, 4 deletions
diff --git a/ipfs-api-backend-actix/src/backend.rs b/ipfs-api-backend-actix/src/backend.rs
index fbbc6a4..b4b23c7 100644
--- a/ipfs-api-backend-actix/src/backend.rs
+++ b/ipfs-api-backend-actix/src/backend.rs
@@ -1,3 +1,11 @@
+// Copyright 2021 rust-ipfs-api Developers
+//
+// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
+// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
+// http://opensource.org/licenses/MIT>, at your option. This file may not be
+// copied, modified, or distributed except according to those terms.
+//
+
use crate::error::Error;
use async_trait::async_trait;
use awc::Client;
diff --git a/ipfs-api-backend-actix/src/error.rs b/ipfs-api-backend-actix/src/error.rs
index aad2b05..99af54d 100644
--- a/ipfs-api-backend-actix/src/error.rs
+++ b/ipfs-api-backend-actix/src/error.rs
@@ -1,4 +1,4 @@
-// Copyright 2017 rust-ipfs-api Developers
+// Copyright 2021 rust-ipfs-api Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
diff --git a/ipfs-api-backend-actix/src/lib.rs b/ipfs-api-backend-actix/src/lib.rs
index d442bcf..1337197 100644
--- a/ipfs-api-backend-actix/src/lib.rs
+++ b/ipfs-api-backend-actix/src/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2019 rust-ipfs-api Developers
+// Copyright 2021 rust-ipfs-api Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
diff --git a/ipfs-api-backend-hyper/src/backend.rs b/ipfs-api-backend-hyper/src/backend.rs
index 0798fc9..01e30de 100644
--- a/ipfs-api-backend-hyper/src/backend.rs
+++ b/ipfs-api-backend-hyper/src/backend.rs
@@ -1,6 +1,14 @@
use crate::error::Error;
use async_trait::async_trait;
use bytes::Bytes;
+// Copyright 2021 rust-ipfs-api Developers
+//
+// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
+// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
+// http://opensource.org/licenses/MIT>, at your option. This file may not be
+// copied, modified, or distributed except according to those terms.
+//
+
use futures::{FutureExt, Stream, StreamExt, TryFutureExt, TryStreamExt};
use http::{
header::{HeaderName, HeaderValue},
diff --git a/ipfs-api-backend-hyper/src/error.rs b/ipfs-api-backend-hyper/src/error.rs
index 4760fc4..17e42ff 100644
--- a/ipfs-api-backend-hyper/src/error.rs
+++ b/ipfs-api-backend-hyper/src/error.rs
@@ -1,4 +1,4 @@
-// Copyright 2019 rust-ipfs-api Developers
+// Copyright 2021 rust-ipfs-api Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or
diff --git a/ipfs-api-backend-hyper/src/lib.rs b/ipfs-api-backend-hyper/src/lib.rs
index 3fd6232..b4174e8 100644
--- a/ipfs-api-backend-hyper/src/lib.rs
+++ b/ipfs-api-backend-hyper/src/lib.rs
@@ -1,4 +1,4 @@
-// Copyright 2019 rust-ipfs-api Developers
+// Copyright 2021 rust-ipfs-api Developers
//
// Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or
// http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or