sumo-types 0.2.2

Reads and writes SUMO (Eclipse SUMO) .net.xml, .rou.xml and .add.xml files as well-typed Rust structs
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! `routes` format: reads `.rou.xml` (traffic demand: routes, vehicle
//! types, vehicles), and (under `write`) writes it back out. Own namespace
//! at `sumo_types::routes` — see the crate docs for why, unlike `net`, it
//! isn't flattened to the crate root.

pub mod domain;
pub mod reader;
pub mod schema_mapper;
#[cfg(feature = "write")]
pub mod schema_writer;
#[cfg(feature = "write")]
pub mod writer;

pub use domain::Routes;
pub use reader::{read_routes, read_routes_from};
#[cfg(feature = "write")]
pub use writer::{write_routes, write_routes_to};