Cargo Features

[dependencies]
solana-compact-u16 = { version = "0.1.0", default-features = false, features = ["use-borsh"] }
default = use-borsh

The use-borsh feature is set by default whenever solana-compact-u16 is added without default-features = false somewhere in the dependency tree.

use-borsh default = borsh

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.

borsh use-borsh

Enables borsh ^0.10.0