routers_codec 0.1.7

Encoding and Decoding Primitives for Routers
Documentation
# 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 = "2024"
name = "routers_codec"
version = "0.1.7"
build = "build.rs"
include = [
    "docs/**",
    "build.rs",
    "proto/**",
    "src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Encoding and Decoding Primitives for Routers"
readme = "README.md"
license = "GPL-3.0-or-later"
repository = "https://github.com/routers-org/routers"
resolver = "2"

[features]
default = ["mimalloc"]
mimalloc = ["dep:mimalloc"]
tracing = [
    "dep:tracing",
    "dep:tracing-subscriber",
]

[lib]
name = "routers_codec"
path = "src/lib.rs"
bench = false

[dependencies.bitflags]
version = "2.9.1"

[dependencies.buffa]
version = "0.6.0"
features = ["json"]

[dependencies.bytes]
version = "1.10.1"
features = [
    "default",
    "serde",
]

[dependencies.either]
version = "1.15.0"

[dependencies.flate2]
version = "1.1.9"
features = ["zlib-rs"]

[dependencies.geo]
version = "0.31.0"
features = [
    "use-serde",
    "serde",
]

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.28"

[dependencies.petgraph]
version = "0.8.2"
features = [
    "serde-1",
    "graphmap",
    "rayon",
    "serde",
]

[dependencies.postcard]
version = "1.1.3"
features = ["alloc"]

[dependencies.rayon]
version = "1.10.0"

[dependencies.regex]
version = "1.11.1"

[dependencies.routers_network]
version = "0.1.0"

[dependencies.rstar]
version = "0.12.2"
features = ["serde"]

[dependencies.rustc-hash]
version = "2.1.1"

[dependencies.schema]
version = "0.1.1"
package = "routers_schema"

[dependencies.serde]
version = "1.0.228"
features = []

[dependencies.strum]
version = "0.27.1"
features = [
    "phf",
    "derive",
]

[dependencies.tracing]
version = "0.1.41"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.20"
features = [
    "tracing-log",
    "fmt",
    "env-filter",
]
optional = true

[dependencies.web-time]
version = "1"

[dev-dependencies.criterion]
version = "3.0.5"
features = ["async_tokio"]
package = "codspeed-criterion-compat"

[dev-dependencies.osmpbf]
version = "0.3.5"
features = ["rust-zlib"]
default-features = false

[dev-dependencies.test-log]
version = "0.2.18"
features = ["log"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.mimalloc]
version = "0.1.46"
optional = true

[lints.clippy]
alloc_instead_of_core = "warn"
std_instead_of_alloc = "warn"
std_instead_of_core = "warn"

[lints.rust]
unsafe_code = "deny"