diff --git a/Cargo.lock b/Cargo.lock index 0d0aa96d36..cfea96319f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -33,10 +33,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" -[[package]] -name = "base" -version = "0.1.0" - [[package]] name = "bytemuck" version = "1.9.1" @@ -73,6 +69,10 @@ dependencies = [ "num-traits", ] +[[package]] +name = "common-base" +version = "0.1.0" + [[package]] name = "datanode" version = "0.1.0" @@ -85,7 +85,7 @@ name = "datatypes" version = "0.1.0" dependencies = [ "arrow2", - "base", + "common-base", "paste", ] diff --git a/src/common/base/Cargo.toml b/src/common/base/Cargo.toml index 6916ddc11b..afcd0e6983 100644 --- a/src/common/base/Cargo.toml +++ b/src/common/base/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "base" +name = "common-base" version = "0.1.0" edition = "2021" diff --git a/src/datatypes/Cargo.toml b/src/datatypes/Cargo.toml index 5b17af9837..7365737cc3 100644 --- a/src/datatypes/Cargo.toml +++ b/src/datatypes/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -base = { path = "../common/base" } arrow2 = "0.10" +common-base = { path = "../common/base" } paste = "1.0" diff --git a/src/datatypes/src/types/binary_type.rs b/src/datatypes/src/types/binary_type.rs index 34f729e617..18f5c86813 100644 --- a/src/datatypes/src/types/binary_type.rs +++ b/src/datatypes/src/types/binary_type.rs @@ -1,7 +1,7 @@ use std::sync::Arc; use arrow2::datatypes::DataType as ArrowDataType; -use base::bytes::StringBytes; +use common_base::bytes::StringBytes; use crate::data_type::{DataType, DataTypeRef}; use crate::type_id::LogicalTypeId; diff --git a/src/datatypes/src/value.rs b/src/datatypes/src/value.rs index 41b43f54ce..8f6dd3b0de 100644 --- a/src/datatypes/src/value.rs +++ b/src/datatypes/src/value.rs @@ -1,4 +1,4 @@ -use base::bytes::{Bytes, StringBytes}; +use common_base::bytes::{Bytes, StringBytes}; /// Value holds a single arbitrary value of any [DataType](crate::data_type::DataType). #[derive(Debug)]