Cargo Features

[dependencies]
routecore = { version = "0.5.0-rc0", default-features = false, features = ["bgp", "bmp", "fsm", "bgpsec", "serde", "arbitrary"] }
default = bgp

The bgp feature is set by default whenever routecore is added without default-features = false somewhere in the dependency tree.

bgp default bmp? = bytes, const-str, log, octseq
bmp = bgp, chrono

Affects routecore::bmp

fsm = tokio

Affects bgp::fsm

bgpsec

Affects routecore::bgpsec

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.

bytes bgp
chrono bmp?
const-str bgp
log bgp
octseq bgp

Enables octseq ^0.4.0

serde implicit feature

Enables serde

serde:

A generic serialization/deserialization framework

Affects aspath::SerializeForOperators, communities::SerializeForOperators

tokio fsm?
arbitrary implicit feature

Enables arbitrary

arbitrary:

The trait for generating structured data from unstructured data