GithubHelp home page GithubHelp logo

Comments (6)

eugene-bulkin avatar eugene-bulkin commented on June 20, 2024

The problem with this is that without impl specialization, impl<T: ToString> Encodable for T will conflict with several other trait implementations. So until impl specialization is in, we can't do much about that.

from rustc-serialize.

Boscop avatar Boscop commented on June 20, 2024

Would it be possible to include an impl of Encodable/Decodable for SocketAddr in rustc-serialize?

from rustc-serialize.

WildCryptoFox avatar WildCryptoFox commented on June 20, 2024

@Boscop It is equally as held back by the lack of specialization.

from rustc-serialize.

Boscop avatar Boscop commented on June 20, 2024

@james-darkfox Do you know what I can use as a encodable/decodable monotonic timestamp since 1970? I haven't found any such time type, all the types from std::time like Instant, SystemTime etc. can't even be converted to/from string.

from rustc-serialize.

WildCryptoFox avatar WildCryptoFox commented on June 20, 2024

@Boscop That is irrelevant to this thread. Your question may be better asked on reddit/r/rust or on IRC. ircs://irc.mozilla.org:6697/#rust and ircs://irc.mozilla.org:6697/#rust-offtopic

from rustc-serialize.

alexcrichton avatar alexcrichton commented on June 20, 2024

I'm going to close this now that this crate is deprecated in favor of serde. We're discontinuing feature development in rustc-serialize but will still continue to merge bug fixes if they arise.

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.