[package]
name = "micro_traffic_sim"
version = "0.0.1"
edition = "2024"
rust-version = "1.85"
build = "src/build.rs"
authors = ["Dmitrii Lopanov <sexykdi@gmail.com>"]
description = "gRPC interface for microscopic traffic simulation via cellular automata"
license = "Apache-2.0"
repository = "https://github.com/LdDl/micro_traffic_sim_grpc"
homepage = "https://github.com/LdDl/micro_traffic_sim_grpc"
documentation = "https://docs.rs/micro_traffic_sim"
readme = "README.md"
keywords = ["traffic", "simulation", "grpc", "cellular-automata", "transportation"]
categories = ["simulation", "science", "api-bindings"]

[dependencies]
tonic = { version = "0.14.2", features = ["transport"] }
tonic-prost = "0.14.2"
prost = "0.14.1"
prost-types = "0.14.1"
tokio = { version = "1.40", features = ["macros", "rt-multi-thread", "signal"] }
tokio-stream = "0.1"
futures-core = "0.3"
micro_traffic_sim_core = "0.1.5"
uuid = { version = "1.18.1", features = ["v4"] }

[build-dependencies]
tonic-prost-build = "0.14.2"
prost-build = "0.14.1"

[lib]
name = "micro_traffic_sim"
path = "src/lib.rs"

[features]
server = []

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