jcaesar

Results 77 comments of jcaesar

`#[structstruck::each[fully_pub::fully_pub]]` seems to do the trick, even for enums.

(I guess we can ignore the possibility of attribute name collisions for now. Let's see if it ever comes to bite.)

There now is (or will very soon be) [machinery for checking for attributes](https://github.com/jcaesar/structstruck/blob/4b31ddb3053f650dfbc8c112c9ddc2c839ef2fe8/src/imp.rs#L99), and I'll rename `strikethrough` to `structstruck::each`. Maybe you can add `#[structstruck::exclude_each]` or something based on that?

I've updated this to fit with current HEAD and added a test and minimal documentation. It'd be nice if you could give it a look before I merge it and...

> somewhat error prone to type (at least for me) Heh, same. That's what I get for being punny. > Also does the current check_crate_attr supports aliasing the crate name...

(I messed up a few pushes, I hope it's back to what it should be now.)

I can reproduce this when trying out `examples/rust-httpserver-flake`, by running `nix flake update nixpkgs --override-flake nixpkgs github:NixOS/nixpkgs/3ce0ea52a0a71ac04f4ce0a2c8a629e02a4e6279`, and then `docker build -f flake.nix .`. Where did you encounter this? I...