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

Commit

Permalink
Removed serde_derive dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgecarleitao committed Aug 12, 2021
1 parent c7e1a4d commit 818cd46
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ default = [
]
merge_sort = ["itertools"]
io_csv = ["csv", "lazy_static", "regex"]
io_json = ["serde", "serde_derive", "serde_json", "indexmap"]
io_json = ["serde", "serde_json", "indexmap"]
io_ipc = ["flatbuffers"]
io_ipc_compression = ["lz4", "zstd"]
io_parquet_compression = [
Expand All @@ -95,7 +95,9 @@ io_parquet_compression = [
"parquet2/lz4",
"parquet2/brotli",
]
io_json_integration = ["io_json", "hex"]
# io_json: its dependencies + error handling
# serde_derive: there is some derive around
io_json_integration = ["io_json", "serde_derive", "hex"]
io_print = ["comfy-table"]
# the compute kernels. Disabling this significantly reduces compile time.
compute = []
Expand Down
2 changes: 0 additions & 2 deletions src/io/json/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@
//! Convert data between the Arrow memory format and JSON line-delimited records.
mod read;
mod schema;
mod write;

pub use read::*;
pub use schema::*;
pub use write::*;

use crate::error::ArrowError;
Expand Down
3 changes: 2 additions & 1 deletion src/io/json_integration/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ use serde_derive::{Deserialize, Serialize};
use serde_json::{Map, Value};

use crate::datatypes::*;
use crate::io::json::ToJson;

mod schema;
use schema::ToJson;
mod read;
mod write;
pub use read::to_record_batch;
Expand Down
File renamed without changes.

0 comments on commit 818cd46

Please sign in to comment.