Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
Rename crate to re_arrow2
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk committed Jan 12, 2024
1 parent 9682af8 commit 7e3bed6
Show file tree
Hide file tree
Showing 287 changed files with 1,109 additions and 1,188 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
target
target_ra
target-tarpaulin
venv
lcov.info
Expand Down
114 changes: 67 additions & 47 deletions Cargo.lock

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

47 changes: 31 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
[package]
name = "arrow2"
name = "re_arrow2"
version = "0.17.4"
license = "Apache-2.0"
description = "Unofficial implementation of Apache Arrow spec in safe Rust"
homepage = "https://github.com/jorgecarleitao/arrow2"
repository = "https://github.com/jorgecarleitao/arrow2"
authors = ["Jorge C. Leitao <[email protected]>", "Apache Arrow <[email protected]>"]
homepage = "https://github.com/rerun-io/re_arrow2"
repository = "https://github.com/rerun-io/re_arrow2"
authors = [
"Rerun.io <[email protected]>",
"Jorge C. Leitao <[email protected]>",
"Apache Arrow <[email protected]>",
]
keywords = ["arrow", "analytics"]
edition = "2021"
exclude = ["testing/"]

[lib]
name = "arrow2"
name = "re_arrow2"
bench = false

[dependencies]
Expand Down Expand Up @@ -51,7 +55,9 @@ regex-syntax = { version = "0.7", optional = true }
streaming-iterator = { version = "0.1", optional = true }
fallible-streaming-iterator = { version = "0.1", optional = true }

json-deserializer = { version = "0.4.4", optional = true, features = ["preserve_order"] }
json-deserializer = { version = "0.4.4", optional = true, features = [
"preserve_order",
] }
indexmap = { version = "^1.6", optional = true }

# used to print columns in a nice columnar format
Expand Down Expand Up @@ -86,7 +92,9 @@ orc-format = { version = "0.3.0", optional = true }
# Arrow integration tests support
serde = { version = "^1.0", features = ["rc"], optional = true }
serde_derive = { version = "^1.0", optional = true }
serde_json = { version = "^1.0", features = ["preserve_order"], optional = true }
serde_json = { version = "^1.0", features = [
"preserve_order",
], optional = true }

# for division/remainder optimization at runtime
strength_reduce = { version = "0.2", optional = true }
Expand Down Expand Up @@ -138,7 +146,7 @@ sample-test = "0.1"

# ugly hack needed to match this library in sample_arrow2
[patch.crates-io]
arrow2 = { path = "." }
re_arrow2 = { path = "." }

[package.metadata.docs.rs]
features = ["full"]
Expand Down Expand Up @@ -180,23 +188,33 @@ io_csv_read_async = ["csv-async", "lexical-core", "futures"]
io_csv_write = ["csv-core", "streaming-iterator", "lexical-core"]
io_json = ["io_json_read", "io_json_write"]
io_json_read = ["json-deserializer", "indexmap", "lexical-core"]
io_json_write = ["streaming-iterator", "fallible-streaming-iterator", "lexical-core"]
io_json_write = [
"streaming-iterator",
"fallible-streaming-iterator",
"lexical-core",
]
io_ipc = ["arrow-format"]
io_ipc_write_async = ["io_ipc", "futures"]
io_ipc_read_async = ["io_ipc", "futures", "async-stream"]
io_ipc_compression = ["lz4", "zstd"]
io_flight = ["io_ipc", "arrow-format/flight-data"]

# base64 + io_ipc because arrow schemas are stored as base64-encoded ipc format.
io_parquet = ["parquet2", "io_ipc", "base64", "streaming-iterator", "fallible-streaming-iterator"]
io_parquet = [
"parquet2",
"io_ipc",
"base64",
"streaming-iterator",
"fallible-streaming-iterator",
]
io_parquet_async = ["futures", "io_parquet", "parquet2/async"]

io_parquet_compression = [
"io_parquet_zstd",
"io_parquet_gzip",
"io_parquet_snappy",
"io_parquet_lz4",
"io_parquet_brotli"
"io_parquet_brotli",
]

# sample testing of generated arrow data
Expand All @@ -214,9 +232,7 @@ io_parquet_brotli = ["parquet2/brotli"]
io_parquet_bloom_filter = ["parquet2/bloom_filter"]

io_avro = ["avro-schema", "streaming-iterator"]
io_avro_compression = [
"avro-schema/compression",
]
io_avro_compression = ["avro-schema/compression"]
io_avro_async = ["avro-schema/async"]

io_orc = ["orc-format"]
Expand Down Expand Up @@ -277,7 +293,7 @@ compute = [
"compute_take",
"compute_temporal",
"compute_utf8",
"compute_window"
"compute_window",
]
benchmarks = ["rand"]
serde_types = ["serde", "serde_derive"]
Expand Down Expand Up @@ -401,4 +417,3 @@ harness = false
[[bench]]
name = "like_kernels"
harness = false

1 change: 0 additions & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ This crate follows the standard for developing a Rust library via `cargo`.
The CI is our "ground truth" over the state of the library. Check out the different parts of
the CI to understand how to test the different parts of this library locally.


## Checks

PRs will run the following checks:
Expand Down
Loading

0 comments on commit 7e3bed6

Please sign in to comment.