diff --git a/src/main.rs b/src/main.rs
index 6e6f97cc36a012c49e458eb21cc6c27015ef2d2d..c9e127fb73aeea7c141dcba4ecfa7250f1f68531 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,11 +1,36 @@
+//  Copyright (C) 2018  The Duniter Project Developers.
+//
+// This program is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with this program.  If not, see <https://www.gnu.org/licenses/>.
+
+//! Main function for classic duniter-rust nodes (no specialization).
+
+#![cfg_attr(feature = "strict", deny(warnings))]
+#![deny(
+    missing_docs, missing_debug_implementations, missing_copy_implementations, trivial_casts,
+    trivial_numeric_casts, unsafe_code, unstable_features, unused_import_braces,
+    unused_qualifications
+)]
+
 extern crate duniter_core;
 extern crate duniter_tui;
 extern crate duniter_ws2p;
 
-use duniter_core::DuniterCore;
-use duniter_tui::TuiModule;
-use duniter_ws2p::WS2PModule;
+pub use duniter_core::DuniterCore;
+pub use duniter_tui::TuiModule;
+pub use duniter_ws2p::WS2PModule;
 
+/// Main function
 fn main() {
     // Get software name and version
     let soft_name = env!("CARGO_PKG_NAME");