Coder Social home page Coder Social logo

Comments (4)

r4v3n6101 avatar r4v3n6101 commented on July 17, 2024 1

Well, I've dropped an eye to the RFC. I was wrong about 'serde', it looks like overkill feature
My apologize for this strange question, I'll close it

from mdns-sd.

keepsimple1 avatar keepsimple1 commented on July 17, 2024

Thanks for opening an issue!

Could you please share what are the problems you see in the current implementation of de/ser of TXT properties? (e.g. decode_txt. It refers to the RFC 6763 section 6.1 and onwards.

serde is a relatively big library on its own that will bring in many other dependencies, including proc-macro2, syn, etc. That will also increase the compile time visibly. We have to have strong reasons to use them.

from mdns-sd.

r4v3n6101 avatar r4v3n6101 commented on July 17, 2024

Personally, I think it was a good idea. But actually, seems like it's not. I don't count in 'serde' size, just thinking in terms of standards (and 'serde' is kinda standard for such formats)

from mdns-sd.

keepsimple1 avatar keepsimple1 commented on July 17, 2024

Regarding your question of RFC-compliant, we have been pragmatic in the implementation. Hence we do not cover every part (e.g. SHOULD) of the RFC. But if you have a user case that needs improvement / changes of TXT property processing, please raise them and also feel free to open a PR.

Also, if some points marked as MUST in the RFC but not covered by the current implementation, please point it out and we shall fix them.

from mdns-sd.

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.