Cargo Features

[dependencies]
pnwkit-core = { version = "0.1.0-alpha.15", default-features = false, features = ["async", "sync", "subscriptions", "bigdecimal", "chrono", "time", "uuid"] }
default = async, subscriptions, sync

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

async default

Enables tokio

Affects config::Config.sleep, request::Client.request

sync default

Affects config::Config.sleep_sync, request::Client.request_sync

subscriptions default

Enables serde_urlencoded and tokio

Affects config::Config.socket_url, config::Config.subscribe_url, config::Config.subscription_auth_url, config::Config.socket, data::SubscriptionAuthData, request::Client.request

Features from optional dependencies

bigdecimal implicit feature

Enables bigdecimal ^0.3

bigdecimal:

Arbitrary precision decimal numbers

chrono implicit feature

Enables chrono

chrono:

Date and time library for Rust

time implicit feature
uuid implicit feature

Enables uuid

uuid:

A library to generate and parse UUIDs