GithubHelp home page GithubHelp logo

Comments (9)

alexcrichton avatar alexcrichton commented on July 21, 2024

Thanks for the report! This looks like you may just need to update Cargo, however, and then everything should be ok!

from rustc-serialize.

johalun avatar johalun commented on July 21, 2024

I did update and that's why it broke. According to RFC 940 hyphen in crate names are no longer allowed so don't you have to update the Cargo.toml?

from rustc-serialize.

alexcrichton avatar alexcrichton commented on July 21, 2024

The details of RFC 940 mean that crate names cannot contain hyphens, but package names still may contain hyphens.

from rustc-serialize.

johalun avatar johalun commented on July 21, 2024

I am having problem with rust-lang/num which has rustc-serialize as a dependency. It would not build with most recent version of rust so what I did was fork num and rustc-serialize, change - to _ in rustc-serialize and change num's Cargo.toml so that the rustc-serialize dependency point to my fork. If rustc-serialize is not the problem then what is your suggestion for a solution?

from rustc-serialize.

alexcrichton avatar alexcrichton commented on July 21, 2024

What are the precise versions of rustc and cargo that you are using?

from rustc-serialize.

johalun avatar johalun commented on July 21, 2024

[mirama@JMBA-DEV wlcairo]$ rustc --version
rustc 1.0.0-dev (d8be84eb4 2015-03-29) (built 2015-03-30)
[mirama@JMBA-DEV wlcairo]$ cargo --version
cargo 0.0.1-pre-nightly (a58ffd7 2015-02-27) (built 2015-02-27)

cargo seems old... but cargo is included in rust-lang/rust right? i assumed it would be updated when i do git pull and rebuild rust from source.

from rustc-serialize.

johalun avatar johalun commented on July 21, 2024

Oh I see now.. It is not.. I am using cargo from old binary installation... Sorry for the trouble. I will install new one and see how it goes..

from rustc-serialize.

johalun avatar johalun commented on July 21, 2024

Ok problem solved! Thanks for the help and sorry again...

from rustc-serialize.

alexcrichton avatar alexcrichton commented on July 21, 2024

No problem! Glad it worked out :)

from rustc-serialize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.