Cargo Features

[dependencies]
objtalk = { version = "0.3.0", default-features = false, features = ["server", "client", "sqlite-backend"] }
default = client, server, sqlite-backend

These default features are set whenever objtalk is added without default-features = false somewhere in the dependency tree.

server default = colored, hyper-tungstenite, lazy_static, regex, toml

Enables http1, runtime, server and stream of hyper ^0.14

Affects objtalk::patterns, objtalk::server

Required by the objtalk-server binary

client default

Enables client and http1 of hyper ^0.14

Affects objtalk::client

Required by the objtalk-cli binary

sqlite-backend default

Enables bundled and chrono of rusqlite ^0.25

Affects storage::sqlite

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.

colored server
hyper client server

Enables hyper ^0.14

hyper-tungstenite server

Enables hyper-tungstenite ^0.3

regex server
rusqlite sqlite-backend

Enables rusqlite ^0.25

toml server

Enables toml ^0.5

lazy_static server