Cargo Features

BgpkitBroker has no features set by default.

[dependencies]
bgpkit-broker = { version = "0.7.6", features = ["cli", "backend", "nats"] }
cli = axum, axum-prometheus, backend, bgpkit-commons, clap, dirs, futures, futures-util, http, humantime, indicatif, itertools, nats, num_cpus, oneio, regex, scraper, tabled, tempfile, tokio, tower-http, tracing-subscriber, utoipa, utoipa-swagger-ui, which

Required by the binary

backend cli? = sqlx, tokio

Affects bgpkit-broker::db

nats cli? = async-nats

notification features

Affects bgpkit-broker::notifier

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 cli?

Enables clap

Optional dependencies


command-line interface dependencies

dirs cli?
humantime cli?
num_cpus cli?
tabled cli?

Enables tabled ^0.13

tracing-subscriber cli?
indicatif cli?
futures-util cli?
itertools cli?

Enables itertools ^0.12.0

tempfile cli?
which cli?

Enables which ^5.0

bgpkit-commons cli?

Enables bgpkit-commons ^0.5

futures cli?

Enables futures

crawler dependencies

oneio cli?
regex cli?
scraper cli?

Enables scraper ^0.17

tokio backend? cli?
axum cli?

Enables axum

api dependencies

tower-http cli?

Enables tower-http ^0.5

http cli?
utoipa cli?

Enables utoipa ^4

utoipa-swagger-ui cli?

Enables utoipa-swagger-ui ^5

axum-prometheus cli?

Enables axum-prometheus ^0.5.0

sqlx backend?

Enables sqlx ^0.7

database dependencies

async-nats nats?

Enables async-nats ^0.34.0