updatetin compiler warnings and documentation strings

Signed-off-by: Ralf Zerres <ralf.zerres@networkx.de>
This commit is contained in:
2021-05-21 12:08:36 +02:00
parent 1ab02a1565
commit da4db8e207

View File

@@ -5,23 +5,24 @@
* SPDX-License-Identifier: (0BSD or MIT) * SPDX-License-Identifier: (0BSD or MIT)
*/ */
#![warn(missing_docs, rust_2018_idioms, rust_2018_compatibility)] #![warn(missing_debug_implementation, missing_docs, rust_2018_compatibility, rust_2018_idioms)]
#![recursion_limit="256"] #![recursion_limit="256"]
#![warn(clippy::pedantic)] #![warn(clippy::pedantic)]
//#![warn(clippy::nursery)] //#![warn(clippy::nursery)]
//! advotracker database //! advotracker database
//!
//! Supports lawyers to capture relevant data encountered during an //! Supports lawyers to capture relevant data encountered during an
//! online legal advice. //! online legal advice. This crate handles all database
//! This SQL database backend will consuming Diesel to make use of //! communication. It uses diesel-async and diesel to convert rust
//! sql features. //! structures to create sql queries (ORM). r2d2 is used to manage and
//! utilize a connection pool.
// ?? is this needed in edition 2018 anymore ??
#[macro_use] #[macro_use]
extern crate diesel; extern crate diesel;
/// SQL functions and methods /// SQL functions
pub mod functions; pub mod functions;
/// SQL models definitions /// SQL models definitions