From afade48668042eeb0740c7c5a1cc3806baaedc94 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 5 Sep 2022 17:56:12 +0200 Subject: add basic package things --- .gitignore | 2 ++ Cargo.toml | 5 +++++ rustfmt.toml | 11 +++++++++++ src/lib.rs | 5 +++++ 4 files changed, 23 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.toml create mode 100644 rustfmt.toml create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4fffb2f --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/target +/Cargo.lock diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..7405a2d --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,5 @@ +[package] +name = "deez" +version = "0.1.0" +edition = "2021" + diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..4d1e29f --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,11 @@ +max_width = 90 +brace_style = "AlwaysNextLine" +group_imports = "StdExternalCrate" +wrap_comments = true +comment_width = 90 +format_code_in_doc_comments = true +imports_layout = "HorizontalVertical" +imports_granularity = "Module" +newline_style = "Unix" +reorder_impl_items = true + diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..870d3f7 --- /dev/null +++ b/src/lib.rs @@ -0,0 +1,5 @@ +//! A sensible Deezer API abstraction. +#![deny(clippy::all)] +#![deny(clippy::pedantic)] +#![deny(missing_docs)] +#![allow(clippy::module_name_repetitions)] -- cgit v1.2.3-18-g5258