Cargo Features

logram has no features set by default.

[dependencies]
logram = { version = "2.0.0", features = ["bin_core", "ls_counter", "ls_filesystem", "ls_journald", "ls_docker"] }
bin_core = cfg-if, chrono, clap, futures, hostname, serde_yaml, teloxide, tokio

Required by the binary

ls_counter

Affects config::LogSourcesConfig.counter

ls_filesystem = notify

Affects config::LogSourcesConfig.filesystem

ls_journald = systemd

Affects config::LogSourcesConfig.journald

ls_docker = bollard

Affects config::LogSourcesConfig.docker

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.

clap bin_core?

Enables clap ^2.33

bin

serde_yaml bin_core?

Enables serde_yaml ^0.8

teloxide bin_core?

Enables teloxide ^0.3

tokio bin_core?

Enables tokio ^0.2

chrono bin_core?
futures bin_core?
hostname bin_core?

Enables hostname ^0.3

cfg-if bin_core?
notify ls_filesystem?

Enables notify ^4.0

systemd ls_journald?

Enables systemd ^0.7

bollard ls_docker?

Enables bollard ^0.9