This is an automated email from the ASF dual-hosted git repository.
fokko pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iceberg-rust.git
The following commit(s) were added to refs/heads/main by this push:
new 5776a66 chore: Change iceberg into workspace (#15)
5776a66 is described below
commit 5776a66ca05b70a729bb5fb547aee35464b7e3fc
Author: Xuanwo <[email protected]>
AuthorDate: Tue Aug 1 23:35:36 2023 +0800
chore: Change iceberg into workspace (#15)
Signed-off-by: Xuanwo <[email protected]>
---
.github/workflows/ci.yml | 2 +-
Cargo.toml | 23 ++---------------------
Cargo.toml => crates/iceberg/Cargo.toml | 0
{src => crates/iceberg/src}/error.rs | 0
{src => crates/iceberg/src}/lib.rs | 0
{src => crates/iceberg/src}/spec/datatypes.rs | 0
{src => crates/iceberg/src}/spec/mod.rs | 0
7 files changed, 3 insertions(+), 22 deletions(-)
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 1211b4d..19867ad 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -71,4 +71,4 @@ jobs:
- uses: actions/checkout@v3
- name: Test
- run: cargo test --no-fail-fast --all-targets --all-features
+ run: cargo test --no-fail-fast --all-targets --all-features --workspace
diff --git a/Cargo.toml b/Cargo.toml
index 496cba4..9e3e2e8 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,24 +15,5 @@
# specific language governing permissions and limitations
# under the License.
-[package]
-name = "iceberg"
-version = "0.1.0"
-edition = "2021"
-
-categories = ["database"]
-description = "Apache Iceberg Rust implementation"
-repository = "https://github.com/apache/iceberg-rust"
-license = "Apache-2.0"
-keywords = ["iceberg"]
-
-[dependencies]
-apache-avro = "0.15.0"
-serde = "^1.0"
-serde_bytes = "0.11.8"
-serde_json = "^1.0"
-serde_derive = "^1.0"
-anyhow = "1.0.72"
-
-[dev-dependencies]
-pretty_assertions = "1.4.0"
+[workspace]
+members = ["crates/*"]
diff --git a/Cargo.toml b/crates/iceberg/Cargo.toml
similarity index 100%
copy from Cargo.toml
copy to crates/iceberg/Cargo.toml
diff --git a/src/error.rs b/crates/iceberg/src/error.rs
similarity index 100%
rename from src/error.rs
rename to crates/iceberg/src/error.rs
diff --git a/src/lib.rs b/crates/iceberg/src/lib.rs
similarity index 100%
rename from src/lib.rs
rename to crates/iceberg/src/lib.rs
diff --git a/src/spec/datatypes.rs b/crates/iceberg/src/spec/datatypes.rs
similarity index 100%
rename from src/spec/datatypes.rs
rename to crates/iceberg/src/spec/datatypes.rs
diff --git a/src/spec/mod.rs b/crates/iceberg/src/spec/mod.rs
similarity index 100%
rename from src/spec/mod.rs
rename to crates/iceberg/src/spec/mod.rs