Skip to content
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

Update deps and derivation algorithm #3

Merged
merged 6 commits into from
Jan 22, 2018

Commits on Dec 25, 2017

  1. derive: update deps and derivation algorithm

    - Update `quote` and `syn` to parse new Rust syntax;
    - Update `compiletest_rs` to solve
      Manishearth/compiletest-rs#86;
    - Add support for arbitrary constant expressions as enum discriminants;
    - Remove the need to `extern crate num` just for deriving.
    hcpl committed Dec 25, 2017
    Configuration menu
    Copy the full SHA
    6b94328 View commit details
    Browse the repository at this point in the history
  2. derive: use explicit isize for discriminants

    This was made to bypass wrong type inference, such as `-10 as u64`.
    hcpl committed Dec 25, 2017
    Configuration menu
    Copy the full SHA
    bd3caaa View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2018

  1. derive: update compiletest_rs

    Manishearth/compiletest-rs#93 fixed build on
    nightly.
    hcpl committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    7441499 View commit details
    Browse the repository at this point in the history
  2. derive: use newer versions of syn and quote

    Will likely be able to parse even more new Rust syntax.
    
    This transition required some API-incompatible changes.
    hcpl committed Jan 19, 2018
    Configuration menu
    Copy the full SHA
    bdca59c View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2018

  1. derive: make syn/full optional

    hcpl committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    a91c363 View commit details
    Browse the repository at this point in the history
  2. derive: enable "full-syntax" for tests

    I couldn't find a way to use "full-syntax" only for `with_custom_values`
    :(.
    hcpl committed Jan 20, 2018
    Configuration menu
    Copy the full SHA
    0f58c1c View commit details
    Browse the repository at this point in the history