xcsoar-tasks

Crates.ioxcsoar-tasks
lib.rsxcsoar-tasks
version0.1.0
created_at2025-12-02 16:04:04.840803+00
updated_at2025-12-02 16:04:04.840803+00
descriptionA Rust library for parsing and writing XCSoar task files
homepage
repositoryhttps://github.com/glide-rs/xcsoar-tasks
max_upload_size
id1962101
size105,927
Tobias Bieniek (Turbo87)

documentation

README

xcsoar-tasks

A Rust library for parsing and writing XCSoar task files.

Installation

Add this to your Cargo.toml:

[dependencies]
xcsoar-tasks = "0.1.0"

Usage

let xml = std::fs::read_to_string("task.tsk").unwrap();
let task = xcsoar_tasks::from_str(&xml).unwrap();

println!("Task type: {:?}", task.task_type);
for point in &task.points {
    println!("  {}: {:?}", point.waypoint.name, point.point_type);
}

License

Licensed under either of:

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dually licensed as above, without any additional terms or conditions.

Commit count: 0

cargo fmt