sonant/lib.rs
1//! A Rust port of the [Sonant 4K synth](http://www.pouet.net/prod.php?which=53615) with streaming
2//! support.
3//!
4//! Sonant [(C) 2008-2009 Jake Taylor](https://creativecommons.org/licenses/by-nc-sa/2.5/)
5//! [ Ferris / Youth Uprising ]
6//!
7//! # Crate features
8//!
9//! - `std` (default) - Allow `std::error::Error`. Disable default features to use `sonant` in a
10//! `no_std` environment.
11
12#![cfg_attr(not(feature = "std"), no_std)]
13#![deny(clippy::all)]
14#![deny(clippy::pedantic)]
15#![allow(clippy::cast_possible_truncation)]
16#![allow(clippy::cast_precision_loss)]
17#![allow(clippy::cast_sign_loss)]
18#![forbid(unsafe_code)]
19
20mod consts;
21mod song;
22mod synth;
23
24pub use song::{Error, Song};
25pub use synth::Synth;