Skip to content

Commit

Permalink
Move PType into vortex-dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
gatesn committed Apr 29, 2024
1 parent 8feb313 commit a834c43
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 13 deletions.
4 changes: 0 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion vortex-array/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ arrow-buffer = { workspace = true }
arrow-schema = { workspace = true }
flatbuffers = { workspace = true }
flexbuffers = { workspace = true }
half = { workspace = true }
humansize = { workspace = true }
itertools = { workspace = true }
leb128 = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion vortex-array/src/scalar/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ use std::fmt::{Debug, Display, Formatter};
pub use binary::*;
pub use bool::*;
pub use composite::*;
use half::f16;
pub use list::*;
pub use null::*;
pub use primitive::*;
pub use struct_::*;
pub use utf8::*;
use vortex_dtype::half::f16;
use vortex_dtype::NativePType;
use vortex_dtype::{DType, FloatWidth, IntWidth, Nullability, Signedness};
use vortex_error::VortexResult;
Expand Down
2 changes: 1 addition & 1 deletion vortex-array/src/scalar/primitive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use std::any;
use std::fmt::{Display, Formatter};
use std::mem::size_of;

use half::f16;
use vortex_dtype::half::f16;
use vortex_dtype::{match_each_integer_ptype, match_each_native_ptype};
use vortex_dtype::{DType, Nullability};
use vortex_dtype::{NativePType, PType};
Expand Down
1 change: 0 additions & 1 deletion vortex-dict/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ rust-version = { workspace = true }

[dependencies]
ahash = { workspace = true }
half = { workspace = true }
hashbrown = { workspace = true }
linkme = { workspace = true }
log = { workspace = true }
Expand Down
5 changes: 0 additions & 5 deletions vortex-dtype/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ rust-version = { workspace = true }
name = "vortex_dtype"
path = "src/lib.rs"

[features]
arrow = ["arrow-buffer", "arrow-schema"]

[dependencies]
arrow-buffer = { workspace = true, optional = true }
arrow-schema = { workspace = true, optional = true }
flatbuffers = { workspace = true }
half = { workspace = true }
itertools = { workspace = true }
Expand Down

0 comments on commit a834c43

Please sign in to comment.