no_std: fix serde building with std when unix_path was not

When using { default-features = false, features = ["serde"] } with unix_path, the expectation is that serde also builds in no_std mode. However, it defaults to its own std feature.

This change links the std and alloc features of unix_path with those of serde.

Edited by Andrei Onea

Merge request reports

Loading