This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch branch-1.11
in repository https://gitbox.apache.org/repos/asf/avro.git
The following commit(s) were added to refs/heads/branch-1.11 by this push:
new 6a9200846 Add missing ASF headers in rust files (#3004)
6a9200846 is described below
commit 6a92008467e7323ac8c50d5c95e5ef3abe432992
Author: JB Onofré <[email protected]>
AuthorDate: Mon Jul 8 18:01:32 2024 +0200
Add missing ASF headers in rust files (#3004)
---
lang/rust/avro/.cargo/config.toml.disabled | 17 +++++++++++++++++
lang/rust/avro/tests/test.rs | 17 +++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/lang/rust/avro/.cargo/config.toml.disabled
b/lang/rust/avro/.cargo/config.toml.disabled
index 9084890b5..e38b10c85 100644
--- a/lang/rust/avro/.cargo/config.toml.disabled
+++ b/lang/rust/avro/.cargo/config.toml.disabled
@@ -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.
+
[build]
rustc-wrapper = '/home/martin/.cargo/bin/sccache'
[target.x86_64-unknown-linux-gnu]
diff --git a/lang/rust/avro/tests/test.rs b/lang/rust/avro/tests/test.rs
index 96185a3a8..2b14588b9 100644
--- a/lang/rust/avro/tests/test.rs
+++ b/lang/rust/avro/tests/test.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.
+
use apache_avro::{
schema_equality::{set_schemata_equality_comparator, SchemataEq,
StructFieldEq},
types::Record,