camino-rs / camino

Like Rust's std::path::Path, but UTF-8.
https://docs.rs/camino
Apache License 2.0
435 stars 16 forks source link

Add Deserialize impl for Box<Utf8Path> #78

Closed sunshowers closed 1 year ago

sunshowers commented 1 year ago

Just delegate to the Utf8PathBuf impl.

Fixes #77.

LunarLambda commented 1 year ago

Thank you! Regarding the comment about Rc/Arc impls: Serde provides these via a feature flag for any Box, so only the Box impl was needed.

Also, would it be possible to publish a patch release to crates.io for this? Can use a git dependency if not of course.

sunshowers commented 1 year ago

Also, would it be possible to publish a patch release to crates.io for this?

Yes, doing so shortly. Thanks!

sunshowers commented 1 year ago

This is now out in camino 1.1.6.