Skip to content

Commit

Permalink
Use apache/arrow-rs instead of fork and update default features
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrobbel committed Dec 12, 2023
1 parent 8f0c5b2 commit eb7edbb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 13 deletions.
18 changes: 6 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,22 @@ keywords.workspace = true
categories.workspace = true

[features]
default = ["arrow-rs", "derive"]
default = []
arrow-rs = ["dep:arrow-array", "dep:arrow-buffer", "dep:arrow-schema", "narrow-derive?/arrow-rs"]
derive = ["dep:narrow-derive"]

[dependencies]
# arrow-array = { version = "49.0.0", optional = true }
# arrow-buffer = { version = "49.0.0", optional = true }
# arrow-schema = { version = "49.0.0", optional = true }
arrow-array = { git = "https://github.com/mbrobbel/arrow-rs", branch = "buffer-builder-scalar-buffer", optional = true }
# arrow-buffer = { git = "https://github.com/apache/arrow-rs", branch = "master", optional = true }
arrow-buffer = { git = "https://github.com/mbrobbel/arrow-rs", branch = "buffer-builder-scalar-buffer", optional = true }
arrow-schema = { git = "https://github.com/mbrobbel/arrow-rs", branch = "buffer-builder-scalar-buffer", optional = true }
arrow-array = { git = "https://github.com/apache/arrow-rs", rev = "7fd2d42", optional = true }
arrow-buffer = { git = "https://github.com/apache/arrow-rs", rev = "7fd2d42", optional = true }
arrow-schema = { git = "https://github.com/apache/arrow-rs", rev = "7fd2d42", optional = true }
narrow-derive = { path = "narrow-derive", version = "^0.3.4", optional = true }

[dev-dependencies]
# arrow-cast = { version = "49.0.0", default-features = false, features = ["prettyprint"] }
arrow-cast = { git = "https://github.com/mbrobbel/arrow-rs", branch = "buffer-builder-scalar-buffer", default-features = false, features = ["prettyprint"] }
arrow-cast = { git = "https://github.com/apache/arrow-rs", rev = "7fd2d42", default-features = false, features = ["prettyprint"] }
bytes = "1.5.0"
criterion = { version = "0.5.1", default-features = false }
rand = { version = "0.8.5", default-features = false, features = ["small_rng"] }
parquet = { git = "https://github.com/mbrobbel/arrow-rs", branch = "buffer-builder-scalar-buffer", features = ["arrow"] }
# parquet = { version = "49.0.0", default-features = false, features = ["arrow"] }
parquet = { git = "https://github.com/apache/arrow-rs", rev = "7fd2d42", features = ["arrow"] }

[profile.bench]
lto = true
Expand Down
2 changes: 1 addition & 1 deletion narrow-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ keywords.workspace = true
categories.workspace = true

[features]
default = ["arrow-rs"]
default = []
arrow-rs = []

[lib]
Expand Down

0 comments on commit eb7edbb

Please sign in to comment.