music_math/
lib.rs

1//! music-math is a Rust library for music-related mathematical operations.
2#![allow(clippy::module_name_repetitions)]
3// clippy WARN level lints
4#![warn(
5    missing_docs,
6    clippy::cargo,
7    clippy::pedantic,
8    clippy::nursery,
9    clippy::dbg_macro,
10    // clippy::unwrap_used,
11    clippy::integer_division,
12    clippy::large_include_file,
13    clippy::map_err_ignore,
14    clippy::missing_docs_in_private_items,
15    clippy::panic,
16    clippy::todo,
17    clippy::undocumented_unsafe_blocks,
18    clippy::unimplemented,
19    clippy::unreachable
20)]
21// clippy WARN level lints, that can be upgraded to DENY if preferred
22#![warn(
23    clippy::float_arithmetic,
24    clippy::arithmetic_side_effects,
25    clippy::modulo_arithmetic,
26    clippy::as_conversions,
27    clippy::assertions_on_result_states,
28    clippy::clone_on_ref_ptr,
29    clippy::create_dir,
30    clippy::default_union_representation,
31    clippy::deref_by_slicing,
32    clippy::empty_drop,
33    clippy::empty_structs_with_brackets,
34    clippy::exit,
35    clippy::filetype_is_file,
36    clippy::float_cmp_const,
37    clippy::if_then_some_else_none,
38    clippy::indexing_slicing,
39    clippy::let_underscore_must_use,
40    clippy::lossy_float_literal,
41    clippy::pattern_type_mismatch,
42    clippy::string_slice,
43    clippy::try_err
44)]
45// clippy DENY level lints, they always have a quick fix that should be preferred
46#![deny(
47    clippy::wildcard_imports,
48    clippy::multiple_inherent_impl,
49    clippy::rc_buffer,
50    clippy::rc_mutex,
51    clippy::rest_pat_in_fully_bound_structs,
52    clippy::same_name_method,
53    clippy::self_named_module_files,
54    clippy::separated_literal_suffix,
55    clippy::shadow_unrelated,
56    clippy::str_to_string,
57    clippy::string_add,
58    clippy::string_to_string,
59    clippy::unnecessary_self_imports,
60    clippy::unneeded_field_pattern,
61    clippy::unseparated_literal_suffix,
62    clippy::verbose_file_reads
63)]
64
65/// Binary operations module.
66pub mod binaryops;
67
68/// MIDI operations module.
69pub mod midi;
70
71/// Scaling operations module.
72pub mod scaling;
73
74/// Interpolation operations module.
75pub mod interpolation;