Cargo Features

[dependencies]
co2mon = { version = "2.1.1", default-features = false, features = ["linux-static-libusb", "linux-static-hidraw", "linux-shared-libusb", "linux-shared-hidraw"] }
default = linux-static-libusb

The linux-static-libusb feature is set by default whenever co2mon is added without default-features = false somewhere in the dependency tree.

linux-static-libusb default

Enables linux-static-libusb of hidapi ^1.1

linux-static-hidraw

Enables linux-static-hidraw of hidapi ^1.1

linux-shared-libusb

Enables linux-shared-libusb of hidapi ^1.1

linux-shared-hidraw

Enables linux-shared-hidraw of hidapi ^1.1

co2mon has 5 features without comments.