rssn_advanced/lib.rs
1//! This is rssn-advanced --- a crate containing complex and delicate mathematical algorithms exspcialy heuristic one based on rssn.
2//! rssn-advanced is part of the rssn project and please notice that the main rssn crate is still the main focus of development.
3#![doc(
4 html_logo_url = "https://raw.githubusercontent.com/Apich-Organization/rssn/refs/heads/dev/doc/logo.png"
5)]
6#![doc(
7 html_favicon_url = "https://raw.githubusercontent.com/Apich-Organization/rssn/refs/heads/dev/doc/favicon.ico"
8)]
9// -------------------------------------------------------------------------
10// Rust Lint Configuration: rssn-advanced
11// -------------------------------------------------------------------------
12
13// -------------------------------------------------------------------------
14// LEVEL 1: CRITICAL ERRORS (Deny)
15// -------------------------------------------------------------------------
16#![deny(
17 // Rust Compiler Errors
18 dead_code,
19 unreachable_code,
20 improper_ctypes_definitions,
21 future_incompatible,
22 nonstandard_style,
23 rust_2018_idioms,
24 clippy::perf,
25 clippy::correctness,
26 clippy::suspicious,
27 clippy::unwrap_used,
28 clippy::expect_used,
29 clippy::indexing_slicing,
30 clippy::arithmetic_side_effects,
31 clippy::missing_safety_doc,
32 clippy::same_item_push,
33 clippy::implicit_clone,
34 clippy::all,
35 clippy::pedantic,
36 warnings,
37 missing_docs,
38 clippy::nursery,
39 clippy::single_call_fn,
40)]
41// -------------------------------------------------------------------------
42// LEVEL 2: STYLE WARNINGS (Warn)
43// -------------------------------------------------------------------------
44#![warn(
45 unsafe_code,
46 clippy::dbg_macro,
47 clippy::todo,
48 clippy::unnecessary_safety_comment
49)]
50// -------------------------------------------------------------------------
51// LEVEL 3: ALLOW/IGNORABLE (Allow)
52// -------------------------------------------------------------------------
53#![allow(
54 clippy::restriction,
55 unused_doc_comments,
56 clippy::empty_line_after_outer_attr,
57 clippy::empty_line_after_doc_comments
58)]
59
60/// System and physical constants.
61pub mod constant;
62/// FFI APIs for the 'rssn-advanced' Library.
63#[cfg(feature = "ffi_api")]
64pub mod ffi_apis;