You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by al...@apache.org on 2021/12/09 20:05:48 UTC

[arrow-rs] branch active_release updated: Remove unneeded `rc` feature of serde (#990) (#1016)

This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch active_release
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/active_release by this push:
     new 557fc11  Remove unneeded `rc` feature of serde (#990) (#1016)
557fc11 is described below

commit 557fc11e3b2a09a680c0cfbf38d27b13101b63fe
Author: Andrew Lamb <an...@nerdnetworks.org>
AuthorDate: Thu Dec 9 15:05:42 2021 -0500

    Remove unneeded `rc` feature of serde (#990) (#1016)
    
    Fixes #989.
    
    This feature opts into impls for `Rc` and `Arc`, but none of the data
    structures that use Serialize/Deserialize actually contain `Rc` or
    `Arc`s.
    
    See:
    
    - [Serde docs](https://serde.rs/feature-flags.html#-features-rc)
    - [PR adding this](https://github.com/apache/arrow/pull/3016)
    
    Co-authored-by: Carol (Nichols || Goulding) <19...@users.noreply.github.com>
---
 arrow/Cargo.toml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml
index 03c76d0..8a080e5 100644
--- a/arrow/Cargo.toml
+++ b/arrow/Cargo.toml
@@ -36,7 +36,7 @@ name = "arrow"
 path = "src/lib.rs"
 
 [dependencies]
-serde = { version = "1.0", features = ["rc"] }
+serde = { version = "1.0" }
 serde_derive = "1.0"
 serde_json = { version = "1.0", features = ["preserve_order"] }
 indexmap = "1.6"