#descriptor #divecomputer #libdivecomputer

libdivecomputer

Safe bindings for libdivecomputer-sys

2 releases

Uses new Rust 2024

new 0.1.1 Apr 17, 2025
0.1.0 Apr 17, 2025

#12 in #descriptor

Download history 120/week @ 2025-04-12

120 downloads per month

MIT/Apache and (MIT OR Apache-2.0) AND LGPL-2.1

2MB
46K SLoC

C 44K SLoC // 0.1% comments Rust 410 SLoC // 0.1% comments Visual Studio Project 406 SLoC Automake 273 SLoC M4 158 SLoC // 0.6% comments Snakemake 17 SLoC // 0.3% comments

🧭 libdivecomputer

Build Status Crates.io Docs

This is a work in progress 🚧

libdivecomputer is intended to be an easy to use high-level wrapper for libdivecomputer.

Please also see the repository containing an unsafe low-level binding.

Basic usage

use libdivecomputer::Descriptor;

let descriptor = Descriptor::default();

for dive_computer in descriptor {
    println!("{dive_computer:?}");
}

License

Licensed under either of

at your option.

Note that libdivecomputer has its own LGPL-2.1 license.

Contribution

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

Dependencies

~0–2MB
~38K SLoC