This is an automated email from the ASF dual-hosted git repository.
zyxxoo pushed a commit to branch refactor/rust-rewrite-design
in repository https://gitbox.apache.org/repos/asf/hugegraph.git
The following commit(s) were added to refs/heads/refactor/rust-rewrite-design
by this push:
new 18d75a48d chore: satisfy license checks for rewrite assets
18d75a48d is described below
commit 18d75a48d0b5ef183793a5899e6c75650a076005
Author: vaughn <[email protected]>
AuthorDate: Thu Sep 10 02:04:13 2026 +0800
chore: satisfy license checks for rewrite assets
---
docs/rust-test-traceability.csv | 1 +
tools/rust-partition-poc/Cargo.lock | 7 -------
tools/rust-partition-poc/Cargo.toml | 17 +++++++++++++++++
tools/rust-partition-poc/src/lib.rs | 17 +++++++++++++++++
tools/rust-partition-poc/src/lib_test.rs | 17 +++++++++++++++++
tools/rust-partition-poc/src/main.rs | 17 +++++++++++++++++
6 files changed, 69 insertions(+), 7 deletions(-)
diff --git a/docs/rust-test-traceability.csv b/docs/rust-test-traceability.csv
index 7ec1be573..cc9ac16ae 100644
--- a/docs/rust-test-traceability.csv
+++ b/docs/rust-test-traceability.csv
@@ -1,3 +1,4 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
module,test_file,test_method_or_suite,inferred_domain,execution_profile,oracle_status
hugegraph-server,hugegraph-server/hugegraph-dist/src/test/java/org/apache/hugegraph/bootstrap/HugeGraphServerBootstrapTest.java,testValidateDnsCacheTtlAcceptsFinitePositiveValue,other,server:
unit/core/api (confirm),待补:独立Oracle/执行确认
hugegraph-server,hugegraph-server/hugegraph-dist/src/test/java/org/apache/hugegraph/bootstrap/HugeGraphServerBootstrapTest.java,testValidateDnsCacheTtlRejectsInvalidValues,other,server:
unit/core/api (confirm),待补:独立Oracle/执行确认
diff --git a/tools/rust-partition-poc/Cargo.lock
b/tools/rust-partition-poc/Cargo.lock
deleted file mode 100644
index defe85931..000000000
--- a/tools/rust-partition-poc/Cargo.lock
+++ /dev/null
@@ -1,7 +0,0 @@
-# This file is automatically @generated by Cargo.
-# It is not intended for manual editing.
-version = 4
-
-[[package]]
-name = "hugegraph-partition-poc"
-version = "0.1.0"
diff --git a/tools/rust-partition-poc/Cargo.toml
b/tools/rust-partition-poc/Cargo.toml
index d2d4a79c9..5fd66a555 100644
--- a/tools/rust-partition-poc/Cargo.toml
+++ b/tools/rust-partition-poc/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 = "hugegraph-partition-poc"
version = "0.1.0"
diff --git a/tools/rust-partition-poc/src/lib.rs
b/tools/rust-partition-poc/src/lib.rs
index 3aa483fad..1fff43acc 100644
--- a/tools/rust-partition-poc/src/lib.rs
+++ b/tools/rust-partition-poc/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.
+ */
+
#[derive(Clone, Debug, PartialEq, Eq)]
pub struct Partition { pub start: u64, pub end: u64, pub version: u64 }
diff --git a/tools/rust-partition-poc/src/lib_test.rs
b/tools/rust-partition-poc/src/lib_test.rs
index e69de29bb..9eb8feebb 100644
--- a/tools/rust-partition-poc/src/lib_test.rs
+++ b/tools/rust-partition-poc/src/lib_test.rs
@@ -0,0 +1,17 @@
+/*
+ * 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.
+ */
+
diff --git a/tools/rust-partition-poc/src/main.rs
b/tools/rust-partition-poc/src/main.rs
index 79161776f..991205987 100644
--- a/tools/rust-partition-poc/src/main.rs
+++ b/tools/rust-partition-poc/src/main.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 hugegraph_partition_poc::{validate, Partition};
fn main() {
let baseline = vec![Partition{start:0,end:10,version:1},
Partition{start:10,end:20,version:1}];