Cargo Features

BgpSim has no features set by default.

[dependencies]
bgpsim = { version = "0.17.6", features = ["rand", "rand_queue", "topology_zoo", "export"] }
rand rand_queue?

Enables rand

Affects builder::NetworkBuilder.build_link_weights_seeded, builder::NetworkBuilder.build_gnp, builder::NetworkBuilder.build_gnm, builder::NetworkBuilder.build_geometric, builder::NetworkBuilder.build_barabasi_albert, builder::NetworkBuilder.build_gao_rexford_policies_seeded, builder::k_random_nodes, builder::k_random_nodes_seeded, builder::k_highest_degree_nodes_seeded, builder::uniform_integer_link_weight, builder::uniform_integer_link_weight_seeded, builder::uniform_link_weight, builder::uniform_link_weight_seeded, builder::equal_preferences_seeded, builder::unique_preferences_seeded, builder::best_others_equal_preferences_seeded

rand_queue = rand

Enables geoutils, priority-queue ^1.2.2, and rand_distr

topology_zoo

Enables geoutils, include-flate ^0.2, and xmltree ^0.10

Affects bgpsim::topology_zoo

Required by the generate-topology-zoo binary

export

Enables bimap

Affects bgpsim::export