Skip to content

Conversation

@not-fl3
Copy link
Contributor

@not-fl3 not-fl3 commented Nov 7, 2018

The problem: num 0.1 had rustc_serialize dependency, which cant be compiled on wasm32-unknown-unknown.

num 0.1 did not set default_features = false for its serde-related sub-dependencies, so enabling num/serde feature resulted rustc_serialize in the collision-rs dependencies. Switch to 0.2 was an easy fix.


This change is Reviewable

@not-fl3 not-fl3 changed the title Bumped num dependencie version Bumped num dependency version Nov 7, 2018
@kvark
Copy link
Collaborator

kvark commented Nov 7, 2018

Is num used in public API? we'll need a version bump in this case.

@Rhuagh
Copy link
Collaborator

Rhuagh commented Nov 7, 2018

It is.

@not-fl3
Copy link
Contributor Author

not-fl3 commented Nov 21, 2018

I am not quite sure is it minor/major fix to make a correct version bump.
Is 0.18.1 appropriate change?

@kvark
Copy link
Collaborator

kvark commented Nov 22, 2018

@not-fl3 should be 0.19.0 then. Before 1.0 the patch versions are non-breaking and minor versions are breaking.

Copy link
Collaborator

@Rhuagh Rhuagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update the version number in the pr? I can publish tonight, but don't have time to do the versioning myself

@not-fl3
Copy link
Contributor Author

not-fl3 commented Nov 22, 2018

Done :)

Copy link
Collaborator

@Rhuagh Rhuagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

bors bot added a commit that referenced this pull request Nov 22, 2018
105: Bumped num dependency version r=Rhuagh a=not-fl3

The problem: ```num``` 0.1 had ```rustc_serialize``` dependency, which cant be compiled on wasm32-unknown-unknown.

```num``` 0.1  did not set ```default_features = false``` for its serde-related sub-dependencies, so enabling ```num/serde``` feature resulted ```rustc_serialize``` in the ```collision-rs``` dependencies. Switch to 0.2 was an easy fix.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/rustgd/collision-rs/105)
<!-- Reviewable:end -->


Co-authored-by: not-fl3 <not.fl3@gmail.com>
@bors
Copy link
Contributor

bors bot commented Nov 22, 2018

Build succeeded

@bors bors bot merged commit fd3d07b into rustgd:master Nov 22, 2018
@iceiix iceiix mentioned this pull request Jan 12, 2019
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