From 22c64595e15c24deb6cfaa7f4cb7f0d0e718d3fc Mon Sep 17 00:00:00 2001 From: Christopher Prohm Date: Sat, 6 Jan 2024 12:32:00 +0100 Subject: [PATCH] Disable default features for all packages --- serde_arrow/Cargo.toml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/serde_arrow/Cargo.toml b/serde_arrow/Cargo.toml index 9c599987..db6a6ef8 100644 --- a/serde_arrow/Cargo.toml +++ b/serde_arrow/Cargo.toml @@ -40,11 +40,11 @@ arrow-38 = ["dep:arrow-array-38", "dep:arrow-schema-38", "dep:arrow-data-38", "d arrow-37 = ["dep:arrow-array-37", "dep:arrow-schema-37", "dep:arrow-data-37", "dep:arrow-buffer-37"] [dependencies] -bytemuck = "1" +bytemuck = { version = "1", default-features = false } # TODO: make optional, only required for str -> date conversions -chrono = "0.4" -half = { version = "2", features = ["bytemuck"] } -serde = { version = "1.0", features = ["derive"] } +chrono = { version = "0.4", default-features = false } +half = { version = "2", features = ["bytemuck"], default-features = false } +serde = { version = "1.0", features = ["derive", "std"], default-features = false } # arrow-version:insert: arrow-array-{version} = {{ package = "arrow-array", version = "{version}", optional = true, default-features = false }} arrow-array-49 = { package = "arrow-array", version = "49", optional = true, default-features = false } @@ -111,8 +111,8 @@ arrow2-0-16 = { package = "arrow2", version = "0.16", optional = true, default-f [dev-dependencies] anyhow = "1" -chrono = { version = "0.4", features = ["serde"] } -serde = { version = "1", features = ["derive"] } +chrono = { version = "0.4", features = ["serde"], default-features = false } +serde = { version = "1", features = ["derive", "std"], default-features = false } serde_json = "1" rand = "0.8" @@ -120,4 +120,4 @@ rand = "0.8" # arrow-version:replace: arrow-json-{version} = {{ package = "arrow-json", version = "{version}" }} arrow-json-49 = { package = "arrow-json", version = "49" } criterion = "0.4" -arrow2_convert = "0.5.0" \ No newline at end of file +arrow2_convert = "0.5.0"