alamb opened a new issue #629:
URL: https://github.com/apache/arrow-rs/issues/629


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   As explained in https://github.com/apache/arrow-rs/pull/628 and linked 
mailing list comments, the `alloc` and `buffer` and `bitmap` crates are easy to 
misuse and can create undefined behavior. 
   
   Also, as part of the `arrow2` project @jorgecarleitao  has effectively 
rewritten / removed them all anyways, so when we make the switch to an `arrow2` 
based future, any code that relies on these modules needs to be rewritten 
anyways. 
   
   **Describe the solution you'd like**
   Mark the `alloc` and `buffer` and `bitmap` crates private so that users of 
the crate can not use them and can start preparing for the arrow2 transition
   
   Proposed Transition plan:
   1. Add a feature `unsafe` that publicly exposes these modules which is off 
by default. Users who need backwards compatibility can enable that feature.
   2. Release said feature in 6.0.0 
   3. in 7.0.0 remove the feature flag, and ensure the 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to