Incorrect Use of Features For arrow-json with Lexical #6959
Labels
development-process
Related to development process of arrow-rs
enhancement
Any new improvement worthy of a entry in the changelog
Describe the bug
Currently, arrow-json depends on lexical-core, but disables all default features without enabling the writers or parsers. This works, because arrow-cast enables these features and arrow-json depends on arrow-cast.
To Reproduce
Disable the features in arrow-cast, and modify to another implementation (I trivially use
fmt::Display
andto_string
) in a fork and this leads to build errors:arrow-cast, however, builds successfully, as expected.
Expected behavior
Both crates should be able to build without depending on the enabled features in a dependency while separately relying on but not enabling those features.
A full patch is to also enable those features in arrow-json:
The text was updated successfully, but these errors were encountered: