30 lines
801 B
Rust
30 lines
801 B
Rust
/*!
|
|
This crate provides seralizing and deserializing from different text representation of dental notations. You can find the different available notation in the enum [NotationKind].
|
|
|
|
It primarily exposes one struct, [Tooth], which operates the different conversions. It also contains another module, [`display`], used to format tooth for different
|
|
# Usage
|
|
|
|
This crate is [on crates.io](https://crates.io/crates/dental_notation) and can be
|
|
used by adding `dental_notation` to your dependencies in your project's `Cargo.toml`.
|
|
|
|
```toml
|
|
[dependencies]
|
|
dental_notation = "1"
|
|
```
|
|
|
|
If you're using Rust 2015, then you'll also need to add it to your crate root:
|
|
|
|
```rust
|
|
extern crate dental_notation;
|
|
```
|
|
|
|
*/
|
|
|
|
#![no_std]
|
|
extern crate alloc;
|
|
|
|
pub mod display;
|
|
pub mod tooth;
|
|
#[doc(inline)]
|
|
pub use tooth::*;
|