# 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 = "aaru" version = "0.1.9" build = "build.rs" include = [ "docs", "src/**/*", "proto/**/*", "build.rs", "readme.md", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Actionable Area Routing Utilities for OSM and MVT" readme = "readme.md" license = "MIT" [package.metadata.docs.rs] features = [ "tile", "route", "codec", ] [profile.bench] opt-level = 3 lto = true [profile.release] opt-level = 3 lto = true [lib] name = "aaru" path = "src/lib.rs" bench = false [dependencies.axum] version = "0.7.7" features = ["query"] optional = true [dependencies.axum-macros] version = "0.4.1" optional = true [dependencies.bytes] version = "1.8.0" features = ["default"] [dependencies.chrono] version = "0.4.38" [dependencies.dotenv] version = "0.15.0" [dependencies.either] version = "1.13.0" [dependencies.fast_hilbert] version = "2.0.0" optional = true [dependencies.flate2] version = "1.0.34" features = ["zlib-ng"] optional = true [dependencies.geo] version = "0.29.1" [dependencies.geohash] version = "0.13.1" [dependencies.log] version = "0.4.22" features = [] [dependencies.mimalloc] version = "0.1.43" optional = true [dependencies.opentelemetry] version = "0.26.0" optional = true [dependencies.opentelemetry-otlp] version = "0.26.0" features = ["tls"] optional = true [dependencies.opentelemetry_sdk] version = "0.26.0" features = ["rt-tokio"] optional = true [dependencies.petgraph] version = "0.6.5" features = [ "serde-1", "graphmap", "rayon", ] [dependencies.prost] version = "0.13.3" [dependencies.rayon] version = "1.10.0" [dependencies.rstar] version = "0.12.2" features = ["serde"] [dependencies.scc] version = "2.2.4" optional = true [dependencies.serde] version = "1.0.214" features = ["derive"] [dependencies.serde_qs] version = "0.13.0" optional = true [dependencies.strum] version = "0.26.3" features = [ "phf", "derive", ] [dependencies.test-log] version = "0.2.16" features = ["log"] [dependencies.tokio] version = "1.41.0" features = [ "rt", "rt-multi-thread", "macros", ] optional = true [dependencies.tonic] version = "0.12.3" features = [ "tls", "tls-roots", ] optional = true [dependencies.tonic-reflection] version = "0.12.3" optional = true [dependencies.tonic-web] version = "0.12.3" optional = true [dependencies.tower-http] version = "0.6.1" features = ["cors"] optional = true [dependencies.tracing] version = "0.1.40" optional = true [dependencies.tracing-opentelemetry] version = "0.27.0" optional = true [dependencies.tracing-subscriber] version = "0.3.18" features = [ "tracing-log", "fmt", "env-filter", ] optional = true [dependencies.wkt] version = "0.11.1" [dev-dependencies.criterion] version = "2.7.2" package = "codspeed-criterion-compat" [dev-dependencies.osmpbf] version = "0.3.4" features = ["zlib-ng"] default-features = false [build-dependencies.prost-build] version = "0.13.3" [build-dependencies.tonic-build] version = "0.12.3" features = ["prost"] [features] all = [ "tile", "route", "codec", ] codec = ["flate2"] default = [ "codec", "route", "mimalloc", ] grpc_server = [ "tonic", "tonic-reflection", "tonic-web", "tower-http", "tokio", ] http_server = [ "tower-http", "axum", "axum-macros", "serde_qs", "tokio", ] route = [ "grpc_server", "scc", "codec", ] tile = [ "http_server", "fast_hilbert", ] tracing = [ "dep:tracing", "tracing-subscriber", "opentelemetry", "opentelemetry_sdk", "tracing-opentelemetry", "opentelemetry-otlp", ]