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)
*/
#![warn(missing_docs, rust_2018_idioms, rust_2018_compatibility)]
#![warn(missing_debug_implementation, missing_docs, rust_2018_compatibility, rust_2018_idioms)]
#![recursion_limit="256"]
#![warn(clippy::pedantic)]
//#![warn(clippy::nursery)]
//! advotracker database
//!
//! Supports lawyers to capture relevant data encountered during an
//! online legal advice.
//! This SQL database backend will consuming Diesel to make use of
//! sql features.
//! online legal advice. This crate handles all database
//! communication. It uses diesel-async and diesel to convert rust
//! 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]
extern crate diesel;
/// SQL functions and methods
/// SQL functions
pub mod functions;
/// SQL models definitions