diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3d145ce..6186111 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -22,8 +22,10 @@ jobs: RUSTFLAGS: -D warnings RUST_BACKTRACE: 1 run: cargo llvm-cov --workspace --lcov --output-path lcov.txt - - uses: codecov/codecov-action@v3 + - uses: codecov/codecov-action@v4 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} with: files: ./lcov.txt # optional fail_ci_if_error: true # optional (default = false) - verbose: true # optional (default = false) \ No newline at end of file + verbose: true # optional (default = false) diff --git a/Cargo.lock b/Cargo.lock index dc45f46..caaa210 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -151,6 +151,14 @@ dependencies = [ "instant", ] +[[package]] +name = "fenster" +version = "0.1.1" +dependencies = [ + "chrono", + "proptest", +] + [[package]] name = "fnv" version = "1.0.7" @@ -545,14 +553,6 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" -[[package]] -name = "window" -version = "0.1.1" -dependencies = [ - "chrono", - "proptest", -] - [[package]] name = "windows-targets" version = "0.48.5" diff --git a/Cargo.toml b/Cargo.toml index 3649403..44f8052 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,9 +1,11 @@ [package] -name = "window" +name = "fenster" version = "0.1.1" authors = ["The Tremor Team"] edition = "2018" license = "Apache-2.0" +description = "Simple sliding window implementation" + [dependencies] chrono = "0.4" diff --git a/src/lib.rs b/src/lib.rs index df797b9..156f2ff 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -150,7 +150,7 @@ impl TimeWindow { /// keeps track of it at a granularity of `100` ms we would use: /// /// ``` - /// use window::TimeWindow; + /// use fenster::TimeWindow; /// TimeWindow::new(10, 100, 1000); /// ````