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

Removed serde_derive dependency #279

Merged
merged 1 commit into from
Aug 12, 2021
Merged
Show file tree
Hide file tree
Changes from all 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
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.