libits-client 3.1.0

library to connect on an ITS MQTT server
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 = "libits-client"
version = "3.1.0"
authors = [
    "Frédéric Gardes <frederic.gardes@orange.com>",
    "Nicolas Buffon <nicolas.buffon@orange.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "library to connect on an ITS MQTT server"
homepage = "https://github.com/Orange-OpenSource/its-client"
documentation = "https://docs.rs/libits-client"
readme = "README.md"
keywords = [
    "network",
    "its",
    "vehicle",
    "mqtt",
    "etsi",
]
license = "MIT"
repository = "https://github.com/Orange-OpenSource/its-client.git"

[features]
geo_routing = ["mobility"]
mobility = ["geo"]
telemetry = [
    "base64",
    "opentelemetry",
    "opentelemetry-http",
    "opentelemetry-otlp",
    "opentelemetry_sdk",
]

[lib]
name = "libits"
crate-type = ["lib"]
path = "src/lib.rs"
test = true
doctest = true
doc = true

[[example]]
name = "collector"
path = "examples/collector/main.rs"

[[example]]
name = "copycat"
path = "examples/copycat.rs"
required-features = ["geo_routing"]

[[example]]
name = "json_counter"
path = "examples/json_counter.rs"

[[example]]
name = "telemetry"
path = "examples/telemetry.rs"
required-features = ["telemetry"]

[[bench]]
name = "position"
path = "benches/position.rs"
harness = false
required-features = ["mobility"]

[dependencies.base64]
version = "0.22"
optional = true

[dependencies.crossbeam-channel]
version = "0.5"

[dependencies.enum_dispatch]
version = "0.3"

[dependencies.flexi_logger]
version = "0.31.2"

[dependencies.geo]
version = "0.29.3"
optional = true

[dependencies.integer-sqrt]
version = "0.1"

[dependencies.log]
version = "0.4"

[dependencies.map_3d]
version = "0.1"

[dependencies.opentelemetry]
version = "0.26"
optional = true

[dependencies.opentelemetry-http]
version = "0.26"
features = ["reqwest"]
optional = true

[dependencies.opentelemetry-otlp]
version = "0.26"
features = [
    "trace",
    "http-proto",
]
optional = true

[dependencies.opentelemetry_sdk]
version = "0.26"
features = [
    "trace",
    "rt-tokio",
]
optional = true

[dependencies.rand]
version = "0.9.2"

[dependencies.reqwest]
version = "0.12"
features = ["json"]

[dependencies.rumqttc]
version = "0.24"
features = ["websocket"]

[dependencies.rust-ini]
version = "0.21"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_repr]
version = "0.1"

[dependencies.serde_with]
version = "3.12"
features = ["json"]

[dependencies.tempfile]
version = "3.21.0"

[dependencies.thiserror]
version = "2.0"

[dependencies.threadpool]
version = "1.8"

[dependencies.tokio]
version = "1.44"
features = [
    "full",
    "macros",
]

[dev-dependencies.chrono]
version = "0.4"

[dev-dependencies.clap]
version = "4.5"

[dev-dependencies.criterion]
version = "0.6.0"

[dev-dependencies.flate2]
version = "1.1.1"

[dev-dependencies.flexi_logger]
version = "0.31.2"
features = [
    "async",
    "compress",
]

[dev-dependencies.lazy_static]
version = "1.5"

[dev-dependencies.tar]
version = "0.4.44"

[dev-dependencies.timer]
version = "0.2"

[profile.dev]
incremental = true