tokio-rs / valuable

MIT License
185 stars 19 forks source link

derive: implement #[valuable] attributes #51

Open taiki-e opened 3 years ago

taiki-e commented 3 years ago
taiki-e commented 3 years ago

As a first step, I'm planning to implement attributes like rename, skip that have non-controversial behavior and are relatively simple.

Larandar commented 1 year ago

This might be less trivial than it sounds, but another non-controversial would also be #[valuable(redacted)]. Almost like skip but semantically different.

taiki-e commented 1 month ago

I don't think we should consider that an attribute that an equivalent is no available in serde is "non-controversial" here. I cannot easily imagine how it would work.