-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
♻️ Prep for spec string changes #23
Conversation
dabf1ee
to
ae16fa9
Compare
Nice! I knew that we'll need to move to
Sure, I don't really mind the |
I'll work through that in a follow-up PR, so that I can make all of the changes at the same time then 👍 |
I noticed this doesn't change the strings in the |
Ah I somehow missed those. I'll go through and change those too in some follow-up work Aside: long-term I think that it would make sense for the |
👍
That makes a lot of sense, yes. However, I mainly created this crate for cargo manifest parsing and to reduce the number of dependencies in Having said that, I'd consider making
We can make use of the fact that Cargo manifest itself doesn't usually have breaking changes (does it at all? 🤔) and make the API as thought-through as possible. I can understand if you don't have interest in that part so I can take care of that. The next release will have to be a breaking change though but I'm hoping there won't be many. Fortunately this crate is still in its infancy and hasn't seen an adoption yet so we breaking changes aren't that big a deal right now (we'll be bumping the semver each time still of course). ^1: Personally speaking, I prefer a big number of tiny crates as that makes things so much more modular and reusable but a lot of folks unfortunately don't and I already get a lot of hate for number of dependencies of zbus (the reason I got interested in reducing dependencies of |
Unless I'm missing something I think that the |
That's a very good point. I guess given that we don't really have many users (if any) yet, we can just ditch the |
Related #11
Some prep work before getting more of the string types to be spec compliant
Pending Q: More generics to get rid of all of the
.into()
s? Maybe someFrom<&str>
andFrom<String>
forValue
and some generics on.insert()
?