Cargo Features

[dependencies]
viaptr = { version = "0.1.0", default-features = false, features = ["alloc", "triomphe"] }
default = alloc

The alloc feature is set by default whenever viaptr is added without default-features = false somewhere in the dependency tree.

alloc default

Features from optional dependencies

triomphe implicit feature