Cargo Features

[dependencies]
purl = { version = "0.1.3", default-features = false, features = ["package-type", "serde", "smartstring"] }
default = package-type, smartstring

These default features are set whenever purl is added without default-features = false somewhere in the dependency tree.

package-type default = phf, unicase

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

phf package-type
serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

smartstring default

Affects purl::SmallString

unicase package-type