Skip to content

[Rust] Minimize unstable feature usage #21208

@asfimport

Description

@asfimport

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.

Reporter: Steven Fackler / @sfackler
Assignee: Steven Fackler / @sfackler

Related issues:

PRs and other links:

Note: This issue was originally created as ARROW-4678. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions