Hacker News new | ask | show | jobs
by selfmodruntime 83 days ago
There are virtually no incompatible dependencies.
1 comments

The blog post gives an example of how the current approach makes dependencies incompatible.

> if someone publishes an alternative to serde (say, nextserde) then all crates which have added support for serde also need to add support for nextserde. Adding support for every new serialization library in existence is unrealistic

If I use serde, I cannot use a crate that only implements nextserde.

If I want to use nextserde, I lose the ability to use all the crates that only implement serde.

Let me rephrase: There are virtually no dependencies that when combined, cause a compiler error.