diff --git a/.gitignore b/.gitignore index 901b6e6..7493ea1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ */target/ + + +# Added by cargo + +/target diff --git a/large_sum/Cargo.lock b/Cargo.lock similarity index 97% rename from large_sum/Cargo.lock rename to Cargo.lock index 036bdfe..3467073 100644 --- a/large_sum/Cargo.lock +++ b/Cargo.lock @@ -8,13 +8,6 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" -[[package]] -name = "large_sum" -version = "0.1.0" -dependencies = [ - "num-bigint", -] - [[package]] name = "num-bigint" version = "0.4.6" @@ -42,3 +35,10 @@ checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" dependencies = [ "autocfg", ] + +[[package]] +name = "oily-solutions" +version = "0.1.0" +dependencies = [ + "num-bigint", +] diff --git a/self_powers/Cargo.toml b/Cargo.toml similarity index 77% rename from self_powers/Cargo.toml rename to Cargo.toml index c9ae7bb..a609e33 100644 --- a/self_powers/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "self_powers" +name = "oily-solutions" version = "0.1.0" edition = "2021" diff --git a/large_sum/Cargo.toml b/large_sum/Cargo.toml deleted file mode 100644 index 30e3900..0000000 --- a/large_sum/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "large_sum" -version = "0.1.0" -edition = "2021" - -[dependencies] -num-bigint = "0.4.6" diff --git a/power_digit_sum/Cargo.lock b/power_digit_sum/Cargo.lock deleted file mode 100644 index e8f9f19..0000000 --- a/power_digit_sum/Cargo.lock +++ /dev/null @@ -1,44 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "autocfg" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" - -[[package]] -name = "num-bigint" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-integer" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", -] - -[[package]] -name = "power_digit_sum" -version = "0.1.0" -dependencies = [ - "num-bigint", -] diff --git a/power_digit_sum/Cargo.toml b/power_digit_sum/Cargo.toml deleted file mode 100644 index 86880a2..0000000 --- a/power_digit_sum/Cargo.toml +++ /dev/null @@ -1,7 +0,0 @@ -[package] -name = "power_digit_sum" -version = "0.1.0" -edition = "2021" - -[dependencies] -num-bigint = "0.4.6" diff --git a/self_powers/Cargo.lock b/self_powers/Cargo.lock deleted file mode 100644 index cc79b85..0000000 --- a/self_powers/Cargo.lock +++ /dev/null @@ -1,44 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 4 - -[[package]] -name = "autocfg" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ace50bade8e6234aa140d9a2f552bbee1db4d353f69b8217bc503490fc1a9f26" - -[[package]] -name = "num-bigint" -version = "0.4.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" -dependencies = [ - "num-integer", - "num-traits", -] - -[[package]] -name = "num-integer" -version = "0.1.46" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" -dependencies = [ - "num-traits", -] - -[[package]] -name = "num-traits" -version = "0.2.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" -dependencies = [ - "autocfg", -] - -[[package]] -name = "self_powers" -version = "0.1.0" -dependencies = [ - "num-bigint", -] diff --git a/10001st_prime.rs b/src/bin/10001st_prime.rs similarity index 100% rename from 10001st_prime.rs rename to src/bin/10001st_prime.rs diff --git a/even_fibonacci_numbers.rs b/src/bin/even_fibonacci_numbers.rs similarity index 100% rename from even_fibonacci_numbers.rs rename to src/bin/even_fibonacci_numbers.rs diff --git a/highly_divisible_triangular_number.rs b/src/bin/highly_divisible_triangular_number.rs similarity index 100% rename from highly_divisible_triangular_number.rs rename to src/bin/highly_divisible_triangular_number.rs diff --git a/large_sum/src/main.rs b/src/bin/large_sum.rs similarity index 100% rename from large_sum/src/main.rs rename to src/bin/large_sum.rs diff --git a/largest_palindrome_product.rs b/src/bin/largest_palindrome_product.rs similarity index 100% rename from largest_palindrome_product.rs rename to src/bin/largest_palindrome_product.rs diff --git a/largest_prime_factor.rs b/src/bin/largest_prime_factor.rs similarity index 100% rename from largest_prime_factor.rs rename to src/bin/largest_prime_factor.rs diff --git a/largest_product_in_a_series.rs b/src/bin/largest_product_in_a_series.rs similarity index 100% rename from largest_product_in_a_series.rs rename to src/bin/largest_product_in_a_series.rs diff --git a/longest_collatz_sequence.rs b/src/bin/longest_collatz_sequence.rs similarity index 100% rename from longest_collatz_sequence.rs rename to src/bin/longest_collatz_sequence.rs diff --git a/multiples_of_3_or_5.rs b/src/bin/multiples_of_3_or_5.rs similarity index 100% rename from multiples_of_3_or_5.rs rename to src/bin/multiples_of_3_or_5.rs diff --git a/number_letter_counts.rs b/src/bin/number_letter_counts.rs similarity index 100% rename from number_letter_counts.rs rename to src/bin/number_letter_counts.rs diff --git a/power_digit_sum/src/main.rs b/src/bin/power_digit_sum.rs similarity index 100% rename from power_digit_sum/src/main.rs rename to src/bin/power_digit_sum.rs diff --git a/self_powers/src/main.rs b/src/bin/self_powers.rs similarity index 100% rename from self_powers/src/main.rs rename to src/bin/self_powers.rs diff --git a/smallest_multiple.rs b/src/bin/smallest_multiple.rs similarity index 100% rename from smallest_multiple.rs rename to src/bin/smallest_multiple.rs diff --git a/special_pythagorean_triplet.rs b/src/bin/special_pythagorean_triplet.rs similarity index 100% rename from special_pythagorean_triplet.rs rename to src/bin/special_pythagorean_triplet.rs diff --git a/sum_square_difference.rs b/src/bin/sum_square_difference.rs similarity index 100% rename from sum_square_difference.rs rename to src/bin/sum_square_difference.rs diff --git a/summation_of_primes.rs b/src/bin/summation_of_primes.rs similarity index 100% rename from summation_of_primes.rs rename to src/bin/summation_of_primes.rs 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!"); +}