Skip to content

Commit 1b8abb0

Browse files
authored
Merge branch 'TheAlgorithms:master' into master
2 parents 983360a + 13710a7 commit 1b8abb0

9 files changed

Lines changed: 351 additions & 6 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,22 @@ jobs:
1414
name: cargo fmt
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/checkout@v5
17+
- uses: actions/checkout@v6
1818
- name: cargo fmt
1919
run: cargo fmt --all -- --check
2020

2121
clippy:
2222
name: cargo clippy
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
- name: cargo clippy
2727
run: cargo clippy --all --all-targets -- -D warnings
2828

2929
test:
3030
name: cargo test
3131
runs-on: ubuntu-latest
3232
steps:
33-
- uses: actions/checkout@v5
33+
- uses: actions/checkout@v6
3434
- name: cargo test
3535
run: cargo test

.github/workflows/code_ql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828

2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v5
31+
uses: actions/checkout@v6
3232

3333
- name: Initialize CodeQL
3434
uses: github/codeql-action/init@v4

.github/workflows/directory_workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: DIRECTORY.md
1212
runs-on: ubuntu-latest
1313
steps:
14-
- uses: actions/checkout@v5
14+
- uses: actions/checkout@v6
1515
with:
1616
fetch-depth: 0
1717
- uses: actions/setup-python@v6

.github/workflows/upload_coverage_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
env:
2222
CARGO_TERM_COLOR: always
2323
steps:
24-
- uses: actions/checkout@v5
24+
- uses: actions/checkout@v6
2525
- uses: taiki-e/install-action@cargo-llvm-cov
2626
- name: Generate code coverage
2727
run: >

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ cargo_common_metadata = { level = "allow", priority = 1 }
164164
doc_lazy_continuation = { level = "allow", priority = 1 }
165165
needless_return = { level = "allow", priority = 1 }
166166
doc_overindented_list_items = { level = "allow", priority = 1 }
167+
needless_range_loop = { level = "allow", priority = 1 }
167168
# complexity-lints
168169
precedence = { level = "allow", priority = 1 }
169170
manual_div_ceil = { level = "allow", priority = 1 }

DIRECTORY.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,8 @@
294294
* [Ternary Search Min Max](https://github.com/TheAlgorithms/Rust/blob/master/src/searching/ternary_search_min_max.rs)
295295
* [Ternary Search Min Max Recursive](https://github.com/TheAlgorithms/Rust/blob/master/src/searching/ternary_search_min_max_recursive.rs)
296296
* [Ternary Search Recursive](https://github.com/TheAlgorithms/Rust/blob/master/src/searching/ternary_search_recursive.rs)
297+
* Signal Analysis
298+
* [YIN](https://github.com/TheAlgorithms/Rust/blob/master/src/signal_analysis/yin.rs)
297299
* Sorting
298300
* [Bead Sort](https://github.com/TheAlgorithms/Rust/blob/master/src/sorting/bead_sort.rs)
299301
* [Binary Insertion Sort](https://github.com/TheAlgorithms/Rust/blob/master/src/sorting/binary_insertion_sort.rs)

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pub mod math;
1616
pub mod navigation;
1717
pub mod number_theory;
1818
pub mod searching;
19+
pub mod signal_analysis;
1920
pub mod sorting;
2021
pub mod string;
2122

src/signal_analysis/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mod yin;
2+
pub use self::yin::{Yin, YinResult};

0 commit comments

Comments
 (0)