-
Notifications
You must be signed in to change notification settings - Fork 853
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serde rc
feature might not be needed?
#989
Labels
Comments
if it builds without |
carols10cents
added a commit
to integer32llc/arrow-rs
that referenced
this issue
Dec 2, 2021
Fixes apache#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](apache/arrow#3016)
carols10cents
added a commit
to integer32llc/arrow-rs
that referenced
this issue
Dec 3, 2021
Fixes apache#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](apache/arrow#3016)
alamb
pushed a commit
that referenced
this issue
Dec 3, 2021
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](apache/arrow#3016)
alamb
pushed a commit
that referenced
this issue
Dec 9, 2021
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](apache/arrow#3016)
alamb
added a commit
that referenced
this issue
Dec 9, 2021
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](apache/arrow#3016) Co-authored-by: Carol (Nichols || Goulding) <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is low priority, and I'm happy to send in a PR for this if it's determined we can remove the
rc
feature.I'm analyzing dependencies and features in IOx, which is also leading me to analyze dependencies and features in IOx's dependencies.
I noticed arrow enables serde's
rc
feature:arrow-rs/arrow/Cargo.toml
Line 40 in e9be49d
serde's docs say:
The feature was added in this PR made 3 years ago. It adds
derive(Serialize, Deserialize)
toDataType
,Field
, andSchema
, none of which contain anyRc<T>
orArc<T>
as far as I can tell. It only adds a test for aDataType::Struct
that containsField
s, butSchema
containsField
s too, so I think that coverage is enough.I tried taking the
rc
feature out and arrow's tests still pass.@andygrove I don't suppose you remember why you enabled the
rc
feature ofserde
in a PR made 3 years ago? 😂The text was updated successfully, but these errors were encountered: