Cargo Features

Oclock has no features set by default.

oclock = { version = "0.1.10", features = ["api", "client", "server", "bin-cli"] }
api client? server? = serde

Affects oclock::dto

client = api, nng, serde_json

Affects oclock::client

server = api, csv, ctrlc, itertools, nng, oclock_sqlite, schedule, serde_json

Affects oclock::server

bin-cli = clap, env_logger

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.

env_logger bin-cli?

Enables env_logger ^0.10

clap bin-cli?
nng client? server?
schedule server?
itertools server?

Enables itertools ^0.12

csv server?
serde api?
serde_json client? server?
ctrlc server?
oclock_sqlite server?