From 63e2fd5e96a6fa4a31d7eaf8963f543c7d8dde36 Mon Sep 17 00:00:00 2001 From: figsoda Date: Wed, 21 Oct 2020 12:53:01 -0400 Subject: [PATCH] initial commit --- .gitignore | 1 + CHANGELOG.md | 0 Cargo.lock | 5 +++++ Cargo.toml | 19 +++++++++++++++++++ rustfmt.toml | 12 ++++++++++++ src/main.rs | 3 +++ 6 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 CHANGELOG.md create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 rustfmt.toml create mode 100644 src/main.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..e69de29 diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..56c4ef6 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,5 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +[[package]] +name = "mmtc" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..c329abd --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,19 @@ +cargo-features = ["strip"] + +[package] +name = "mmtc" +version = "0.1.0" +authors = ["figsoda "] +edition = "2018" +license = "MPL-2.0" +description = "Minimal mpd terminal client" +homepage = "https://github.com/figsoda/mmtc" +repository = "https://github.com/figsoda/mmtc" +readme = "README.md" + +[dependencies] + +[profile.release] +lto = true +codegen-units = 1 +strip = "symbols" diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..a72073c --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,12 @@ +condense_wildcard_suffixes = true +edition = "2018" +format_code_in_doc_comments = true +merge_imports = true +newline_style = "unix" +normalize_comments = true +normalize_doc_attributes = true +overflow_delimited_expr = false +reorder_impl_items = true +spaces_around_ranges = true +use_field_init_shorthand = true +use_try_shorthand = true diff --git a/src/main.rs b/src/main.rs new file mode 100644 index 0000000..e7a11a9 --- /dev/null +++ b/src/main.rs @@ -0,0 +1,3 @@ +fn main() { + println!("Hello, world!"); +}