-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Implement and Derive common traits #952
Comments
I can work on this. I am not sure about breaking change right now, it depends from associated changes. |
Yeah I'm concerned with the breaking changes implications. I've got a local 3x branch that I've been working on the past few days. Once I get it to a state where it actually builds I'll push the branch and you can run through the types making sure they're all deriving the traits they should. 👍 I've got one more work trip coming up soon, but I'm hoping to have this branch pushed sometime this coming week. |
Nice, is there any issues I can work on while you will be away? Are you still using |
@Vinatorul The gitter is still up, and I get pinged on mobile (usually) when new messages are posted. Really any of the current feature requests could get knocked out, but 3.x is being heavily refactored, so it'll probably just be easier to wait until I get it building. I now have a 3x-dev branch up, but it doesn't compile yet as it's a messy state of partially refactored. I'm hoping to get a large chunk of it complete tomorrow while on an airplane 😄 Once the refactoring is done, adding the new features will be easy, and you can jump on in at that point. I'll publish a list of priorities as well. Once it's good to go, I'll create a 3x-master branch and start merging feature PRs onto that branch. |
Can this issue be tackled now? If that is the case, I'd might have a look at it. |
Yes, please. Which is why I added it to the rust weekly. |
There I saw it and it might be an easy candidate. |
Regarding certain traits:
|
With #1365 we should look at how much this increases the binary size and probably feature gate this (it's ok if it's in the default features) if it negatively effects the size. I think LLVM is pretty good about dead code elimination and removing any trait impls that we impl (or derive) but aren't actually used in the resulting binary...but I'm not 100% certain in all cases. I know there are specific cases where LLVM won't remove dead code, but I believe that is tied to generics and monomorphic trait impls IIRC. |
@sassman are you working on all of it or do you need some help? |
@pickfire I started by |
Tests are not needed. Just write |
Tests are only needed if there is a custom implementation somewhere. |
@pksunkara It would be fun if beginners are able to claim parts of this issue like rust-dc/fish-manpage-completions#2 |
Eagerly derive/implement common traits for all public types. I haven't yet looked at which ones would actually be appropriate to implement. The list below is just a quick list.
I'm not 100% sure, but I think adding these would be a breaking change?
The text was updated successfully, but these errors were encountered: