Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-4678

[Rust] Minimize unstable feature usage

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.12.0
    • 0.13.0
    • Rust

    Description

      The Rust implementation currently uses quite a few nightly features. This is unfortunately a hard blocker on using these crates for many users.

      Here's the list of currently use nightly features:

      • type_ascription: Unused, can be trivially removed.
      • rustc_private: Unused, can be trivially removed.
      • box_syntax: Indefinitely far from stabilization, trivially replaceable with Box::new.
      • box_patterns: Indefinitely far from stabilization, replaceable with some minor restructuring of a couple of matches.
      • serde's alloc feature: Unused, can be trivially removed.
      • try_from: Scheduled for stabilization in Rust 1.35.
      • specialization: Actively being worked on - maybe ~1 year timeframe?
      • packed_simd: Actively being worked on - maybe ~1 year timeframe?

      The first set of features are easy enough to get rid of - I'll make a PR to do that (https://github.com/sfackler/arrow/tree/more-stable). I'm a bit less sure of what to do with specialization and packed_simd, though.

      Attachments

        Issue Links

          Activity

            People

              sfackler Steven Fackler
              sfackler Steven Fackler
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m