Cargo Features

mtpng has no features set by default.

[dependencies]
mtpng = { version = "0.4.1", features = ["cli", "capi"] }
default

Rust-only

cli = clap, png, time

include command-line tool

Required by the binary

capi = libc

include C symbol exports

Affects mtpng::capi

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.

png cli?

Enables png

implied deps for cli

clap cli?

Enables clap ^3.1.12

time cli?
libc capi?

Enables libc

implied deps for capi