# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "bgpkit-broker" version = "0.7.6" authors = ["Mingwei Zhang "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = """ A library and command-line to provide indexing and searching functionalities for public BGP data archive files over time. """ documentation = "https://docs.rs/bgpkit-broker" readme = "README.md" keywords = [ "bgp", "bgpkit", "api", ] license = "MIT" repository = "https://github.com/bgpkit/bgpkit-broker" [package.metadata.binstall] pkg-fmt = "tgz" pkg-url = "{ repo }/releases/download/v{ version }/{ name }-{ target }.tar.gz" [lib] name = "bgpkit_broker" path = "src/lib.rs" [[bin]] name = "bgpkit-broker" path = "src/cli/main.rs" required-features = ["cli"] [[example]] name = "latest" path = "examples/latest.rs" [[example]] name = "peers" path = "examples/peers.rs" [[example]] name = "query" path = "examples/query.rs" [dependencies.async-nats] version = "0.34.0" optional = true [dependencies.axum] version = "0.7" optional = true [dependencies.axum-prometheus] version = "0.5.0" optional = true [dependencies.bgpkit-commons] version = "0.5" optional = true [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.clap] version = "4.3" features = ["derive"] optional = true [dependencies.dirs] version = "5" optional = true [dependencies.dotenvy] version = "0.15" [dependencies.futures] version = "0.3" optional = true [dependencies.futures-util] version = "0.3.28" optional = true [dependencies.http] version = "1.0" optional = true [dependencies.humantime] version = "2.1" optional = true [dependencies.indicatif] version = "0.17.7" optional = true [dependencies.itertools] version = "0.12.0" optional = true [dependencies.lazy_static] version = "1" [dependencies.log] version = "0.4" [dependencies.num_cpus] version = "1.15" optional = true [dependencies.oneio] version = "0.17.0" features = ["s3"] optional = true [dependencies.regex] version = "1" optional = true [dependencies.reqwest] version = "0.12.7" features = [ "blocking", "json", "stream", "rustls-tls-native-roots", ] default-features = false [dependencies.scraper] version = "0.17" optional = true [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.sqlx] version = "0.7" features = [ "runtime-tokio", "sqlite", ] optional = true [dependencies.tabled] version = "0.13" optional = true [dependencies.tempfile] version = "3.8" optional = true [dependencies.thiserror] version = "1.0" [dependencies.tokio] version = "1" features = ["full"] optional = true [dependencies.tower-http] version = "0.5" features = ["cors"] optional = true [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" optional = true [dependencies.utoipa] version = "4" features = [ "axum_extras", "chrono", ] optional = true [dependencies.utoipa-swagger-ui] version = "5" features = ["axum"] optional = true [dependencies.which] version = "5.0" optional = true [dev-dependencies.tracing-subscriber] version = "0.3.17" [features] backend = [ "tokio", "sqlx", ] cli = [ "clap", "dirs", "humantime", "num_cpus", "tracing-subscriber", "tabled", "itertools", "tempfile", "which", "bgpkit-commons", "futures", "oneio", "regex", "scraper", "tokio", "nats", "backend", "indicatif", "futures-util", "axum", "axum-prometheus", "utoipa", "utoipa-swagger-ui", "http", "tower-http", ] default = [] nats = ["async-nats"]