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 from git servo/rust-geom to crates.io euclid #6406

Closed
SimonSapin opened this issue Jun 17, 2015 · 2 comments
Closed

Update from git servo/rust-geom to crates.io euclid #6406

SimonSapin opened this issue Jun 17, 2015 · 2 comments
Labels

Comments

@SimonSapin
Copy link
Member

@SimonSapin SimonSapin commented Jun 17, 2015

rust-geom has been renamed to euclid (because geom was already taken) and published on crates.io. We should update Servo and its dependencies accordingly. In components/servo/Cargo.lock I count 4 crates in other repositories that need to updated:

… and 16 in this repository:

  • canvas
  • canvas_traits
  • compositing
  • gfx
  • glutin_app
  • layout
  • layout_traits
  • msg
  • net
  • net_traits
  • script
  • script_traits
  • style
  • style_tests
  • util
  • util_tests

In each case:

  • this section of Cargo.toml:

    [dependencies.geom]
    git = "https://github.com/servo/rust-geom"

    needs to be replaced with geom = "0.1" in the [dependencies] section

  • extern crate geom; in lib.rs needs to be replaced with extern crate euclid as geom; or extern crate euclid;. In the latter case, the rest of the code also needs to be updated with the new name.

@Hockenberry
Copy link

@Hockenberry Hockenberry commented Jun 26, 2015

Should this issue should be closed?

@SimonSapin
Copy link
Member Author

@SimonSapin SimonSapin commented Jun 26, 2015

Yes, thanks. Fixed in #6423.

@SimonSapin SimonSapin closed this Jun 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.