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

Merge master changes into breaking #186

Merged
merged 64 commits into from
Mar 27, 2018
Merged

Merge master changes into breaking #186

merged 64 commits into from
Mar 27, 2018

Conversation

kinggoesgaming
Copy link
Member

@kinggoesgaming kinggoesgaming commented Mar 27, 2018

Supersedes #164

kinggoesgaming and others added 30 commits March 1, 2018 14:09
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
clippy takes forever to build

Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
163: Clippy r=Dylan-DPC a=kinggoesgaming

![image](https://user-images.githubusercontent.com/15664607/36952547-48806ef8-1fc6-11e8-8c1d-729dcce2c339.png)

~~This is declared a breaking change as per clippy requesting that `Hash` be derived, as @Dylan-DPC asked.~~
* [x] `extern crate`s
* [x] already provided `mod`s

Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
167: Use cfg-if to create logical feature gate implementations r=kinggoesgaming a=kinggoesgaming

<!--
    As we are working towards a stable version of uuid, we require that you 
    open an issue, before submitting a pull request. If the pull request is 
    imcomplete, prepend the Title with WIP: 
-->

**I'm submitting a ...**
  - [ ] bug fix
  - [ ] feature enhancement
  - [ ] deprecation or removal
  - [x] refactor

# Description
`uuid` now adds `cfg-if` as a dependency.  With this, `#[cfg(..)]` implementations are easier to understand, as they can be handled in a more logical view because the macro allows us to `if` statements to make the checks more rustic at the source level

# Motivation
Understanding feature gate implementation becomes easier.

# Tests
The CI builds passing should be plenty.

# Related Issue(s)
#147
name changed to from_random_bytes
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
174: Temporarily disable clippy r=Dylan-DPC a=kinggoesgaming

<!--
    As we are working towards a stable version of uuid, we require that you 
    open an issue, before submitting a pull request. If the pull request is 
    imcomplete, prepend the Title with WIP: 
-->

**I'm submitting a ...**
  - [ ] bug fix
  - [ ] feature enhancement
  - [ ] deprecation or removal
  - [ ] refactor

# Description
Removed running clippy tests until further notice.

# Motivation
Currently our builds break every night with caching enabled on nightly channel where clippy tests are done.

# Tests
N/A

# Related Issue(s)
N/A
`<[_]>::copy_from_slice` is a better replacement

Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
bors bot and others added 17 commits March 20, 2018 21:45
172: from_rng_bytes added r=kinggoesgaming a=Dylan-DPC

<!--
    As we are working towards a stable version of uuid, we require that you 
    open an issue, before submitting a pull request. If the pull request is 
    imcomplete, prepend the Title with WIP: 
-->

**I'm submitting a ...**
  - [ ] bug fix
  - [x] feature enhancement
  - [ ] deprecation or removal
  - [ ] refactor

# Description
<!-- Provide a summary of your changes in the Title above -->
As discussed in the issue, this method is a solution to avoid making `rand` a public dependency

# Motivation
To avoid making `rand` public dependency
<!-- Why is this change required -->

# Tests
<!-- How are these changes tested? -->
none, test added 

# Related Issue(s)
#170 
<!-- 
    As noted above, we require an issue for every PR. Please link to the issue
    here
-->
180: 0.6.2 release update r=kinggoesgaming a=Dylan-DPC

Items left to do for 0.6.2 release:

* [x] Update version numbers
    * [x] lib.rs
    * [x] Cargo.toml

Reference: #179
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
182: move test Uuid creation functions into new module r=Dylan-DPC a=kinggoesgaming

**I'm submitting a ...**
  - [ ] bug fix
  - [ ] feature enhancement
  - [ ] deprecation or removal
  - [x] refactor

# Description
Refactor the `tests::new` and `tests::new2` functions into `test_util` module.

# Motivation
Part of the great refactor. Allows different tests in different modules access the test constructors for `Uuid`

# Tests
The tests are passing

# Related Issue(s)
#124
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
Signed-off-by: Hunar Roop Kahlon <hunar.roop@gmail.com>
185: move slog implementation into its own module r=kinggoesgaming a=kinggoesgaming

**I'm submitting a ...**
  - [ ] bug fix
  - [ ] feature enhancement
  - [ ] deprecation or removal
  - [x] refactor

# Description
The slog impl and tests are moved into `slog_support` module

# Motivation
As part of the refactor effort, feature gated implementations need to be moved into their own modules.

# Tests
Current provided tests are passing

# Related Issue(s)
#124
177: introduce the `uuid` prelude r=Dylan-DPC a=kinggoesgaming

**I'm submitting a ...**
  - [ ] bug fix
  - [x] feature enhancement
  - [ ] deprecation or removal
  - [ ] refactor

# Description
Introduce the `prelude` module that provide the core types.

# Motivation
Provide the stable types that are important for users of `uuid`

# Tests
N/A

# Related Issue(s)
closes #166
@kinggoesgaming kinggoesgaming added this to the 0.7.0 milestone Mar 27, 2018
@kinggoesgaming kinggoesgaming self-assigned this Mar 27, 2018
@kinggoesgaming
Copy link
Member Author

@uuid-rs/uuid: review please :)

@Dylan-DPC-zz
Copy link
Member

bors: r+

bors bot added a commit that referenced this pull request Mar 27, 2018
186: Merge master changes into breaking r=Dylan-DPC a=kinggoesgaming

Supersedes #164
@bors
Copy link
Contributor

bors bot commented Mar 27, 2018

@bors bors bot merged commit de081d7 into breaking Mar 27, 2018
@kinggoesgaming kinggoesgaming deleted the m2b-merger branch March 27, 2018 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants