From 3434c9d4f67e8fbc14d60777bd220f4cae7bd115 Mon Sep 17 00:00:00 2001 From: ddidderr Date: Sat, 2 Dec 2023 09:19:34 +0100 Subject: [PATCH] hcn: highly composite number A tool to find highly composite numbers fast. --- .gitignore | 1 + Cargo.lock | 7 +++++++ Cargo.toml | 16 ++++++++++++++++ rustfmt.toml | 3 +++ 4 files changed, 27 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 rustfmt.toml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..cc3aeba --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "hcn" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..6a04634 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,16 @@ +[package] +name = "hcn" +version = "0.1.0" +edition = "2021" + +[dependencies] + +[lints.clippy] +pedantic = "warn" + +[profile.release] +lto = true +debug = false +strip = true +codegen-units = 1 +panic = "unwind" \ No newline at end of file diff --git a/rustfmt.toml b/rustfmt.toml new file mode 100644 index 0000000..e270811 --- /dev/null +++ b/rustfmt.toml @@ -0,0 +1,3 @@ +group_imports = "StdExternalCrate" +imports_granularity = "Crate" +imports_layout = "HorizontalVertical"