Skip to content

Upgrade dependencies and switch from alga to simba - #10

Open
dflemstr wants to merge 2 commits into
hmeyer:mainfrom
dflemstr:master
Open

Upgrade dependencies and switch from alga to simba#10
dflemstr wants to merge 2 commits into
hmeyer:mainfrom
dflemstr:master

Conversation

@dflemstr

@dflemstr dflemstr commented Jun 8, 2021

Copy link
Copy Markdown

The alga crate is deprecated and has been replaced by simba. This PR also allows the introduction of a much newer nalgebra version which is pretty significant.

Depends on hmeyer/bbox#3 and hmeyer/implicit3d#2 for now, after which the [patch] section will be removed

@hmeyer hmeyer left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you!
Please also bump to minor version of this package to 0.9.

Comment thread Cargo.toml
once_cell = "1.4"
bbox = "0.11"
num-traits = "0.2"
bbox = "0.11.2"

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Wouldn't just major+minor be fine?

@dflemstr dflemstr Jun 10, 2021

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I'm using the default conventions of the cargo-edit tool which was what I used to automate this change. I suppose it might help ensure that users of this crate get at least the version of a dependency that was used to run the test suite. Imagine if 0.5.2 is buggy, 0.5.3 is fine, and the tests of this crate were tested against 0.5.3. Setting the patch version ensures that users don't accidentally get the 0.5.2 version (ie. they get at least the version that this crate was tested against).

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@hmeyer

hmeyer commented Jun 14, 2021

Copy link
Copy Markdown
Owner

Build currently fails with this PR. Can you please take a look?

@dflemstr

Copy link
Copy Markdown
Author

See hmeyer/implicit3d#2 (comment)

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.

2 participants