diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2021-04-04 13:51:29 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2021-04-04 13:51:29 +0200 |
commit | 080771bc233c25e067706e67cba2becbc0748980 (patch) | |
tree | 15bc8f18dffb202593b7bbf84eec518da3e68c97 /src | |
parent | 537353553c98ffd285bea0a5a2e5a25834930ee8 (diff) |
Add license headers
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/async_dag.rs | 6 | ||||
-rw-r--r-- | src/dag_backend.rs | 6 | ||||
-rw-r--r-- | src/node.rs | 6 | ||||
-rw-r--r-- | src/node_id.rs | 6 | ||||
-rw-r--r-- | src/test_impl.rs | 6 |
5 files changed, 30 insertions, 0 deletions
diff --git a/src/async_dag.rs b/src/async_dag.rs index 0ebc166..f9f5072 100644 --- a/src/async_dag.rs +++ b/src/async_dag.rs @@ -1,3 +1,9 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// + use std::pin::Pin; use anyhow::Result; diff --git a/src/dag_backend.rs b/src/dag_backend.rs index 6a49146..8a74c7b 100644 --- a/src/dag_backend.rs +++ b/src/dag_backend.rs @@ -1,3 +1,9 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// + use anyhow::Result; use async_trait::async_trait; diff --git a/src/node.rs b/src/node.rs index 3759259..b557928 100644 --- a/src/node.rs +++ b/src/node.rs @@ -1,3 +1,9 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// + use crate::NodeId; pub trait Node { diff --git a/src/node_id.rs b/src/node_id.rs index e4fe6b4..d849310 100644 --- a/src/node_id.rs +++ b/src/node_id.rs @@ -1,2 +1,8 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// + pub trait NodeId: Clone + Eq + PartialEq + std::hash::Hash { } diff --git a/src/test_impl.rs b/src/test_impl.rs index b79b90b..da86543 100644 --- a/src/test_impl.rs +++ b/src/test_impl.rs @@ -1,3 +1,9 @@ +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. +// + use anyhow::Result; use async_trait::async_trait; |