Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion arrow-avro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,15 @@ bench = false
all-features = true

[features]
default = ["deflate", "snappy", "zstd", "bzip2", "xz"]
default = ["deflate", "snappy", "zstd", "bzip2", "xz", "object_store"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure about having object_store as a default imo. Seems a bit heavy to me.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, that was a development thing, not my intention^^

deflate = ["flate2"]
snappy = ["snap", "crc"]
canonical_extension_types = ["arrow-schema/canonical_extension_types"]
md5 = ["dep:md5"]
sha256 = ["dep:sha2"]
small_decimals = []
avro_custom_types = ["dep:arrow-select"]
object_store = ["dep:object_store", "dep:bytes", "dep:futures"]

[dependencies]
arrow-schema = { workspace = true }
Expand All @@ -66,6 +67,9 @@ indexmap = "2.10"
rand = "0.9"
md5 = { version = "0.8", optional = true }
sha2 = { version = "0.10", optional = true }
object_store = { version = "0.12.0", default-features = false, optional = true }
bytes = { version = "1.10.1", optional = true }
futures = { version = "0.3.31", optional = true }

[dev-dependencies]
arrow-data = { workspace = true }
Expand All @@ -83,6 +87,8 @@ async-stream = "0.3.6"
apache-avro = "0.21.0"
num-bigint = "0.4"
once_cell = "1.21.3"
object_store = { version = "0.12.0", features = ["fs"]}
tokio = { version = "1.0", default-features = false, features = ["macros", "rt-multi-thread", "io-util", "fs"] }

[[bench]]
name = "avro_reader"
Expand Down
Loading