Closed farcaller closed 1 year ago
Thank you for your suggestion.
The crate that serde_valid depends on is written in Cargo.toml, but there seems to be a culture in Rust to make it explicit in the documentation.
Do you have any references to the rules for projects and documentation? I would like to study them.
I don't think it works this way. The macro unwraps not in the context of your crate, but the destination crate which might not have the once_cell dependency (mine didn't).
One option would be to re-export the symbols of once_cell through serde_vaild and then depend on them – because the serde_valid dependency is required to be explicit.
Ah, I see why!
I will try to re-export the once_cell from serde_valid :)
@farcaller I released v1.12.0
It looks like this crate implicitly depends on
once_cell
being a dependency inBut this isn't documented anywhere.