This is an automated email from the ASF dual-hosted git repository.
garyw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mnemonic.git
The following commit(s) were added to refs/heads/master by this push:
new 01c848a MNEMONIC-785: Missing license in module Mnemonic-protocol
01c848a is described below
commit 01c848afde31355b9ddb99202c7b1cafb4e0f919
Author: Katarina <[email protected]>
AuthorDate: Wed Jul 19 01:40:07 2023 +0000
MNEMONIC-785: Missing license in module Mnemonic-protocol
---
mnemonic-protocol/Cargo.toml | 17 +++++++++++++++++
mnemonic-protocol/src/lib.rs | 17 +++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/mnemonic-protocol/Cargo.toml b/mnemonic-protocol/Cargo.toml
index 321866f..1504357 100644
--- a/mnemonic-protocol/Cargo.toml
+++ b/mnemonic-protocol/Cargo.toml
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you 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, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
[package]
name = "mnemonic-protocol"
version = "0.1.0"
diff --git a/mnemonic-protocol/src/lib.rs b/mnemonic-protocol/src/lib.rs
index 7d12d9a..48b6828 100644
--- a/mnemonic-protocol/src/lib.rs
+++ b/mnemonic-protocol/src/lib.rs
@@ -1,3 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you 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, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied. See the License for the
+// specific language governing permissions and limitations
+// under the License.
+
pub fn add(left: usize, right: usize) -> usize {
left + right
}