diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index a42b4c7..1fe4e30 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -43,7 +43,10 @@ jobs: args: --workspace --all-features --all-targets --locked - name: Cargo fmt if: matrix.action == 'fmt' - run: cargo fmt --all -- --check + run: | + rustup toolchain install nightly + rustup component add rustfmt --toolchain nightly + cargo +nightly fmt --all -- --check - name: Install cargo-nextest if: matrix.action == 'nextest' uses: taiki-e/install-action@nextest diff --git a/.gitignore b/.gitignore index 0431c78..e88a27a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,10 +1,14 @@ # System .DS_Store -# Integrated Development Environment -.idea +# Integrated development environment .vscode -# Package Manager +# Package manager ## Cargo target +## NPM +node_modules + +# Test data +tmp diff --git a/Cargo.lock b/Cargo.lock index 5b1c710..8d2769c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,27 +4,27 @@ version = 3 [[package]] name = "proc-macro2" -version = "1.0.78" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" +checksum = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.35" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] [[package]] name = "syn" -version = "2.0.48" +version = "2.0.68" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +checksum = "901fa70d88b9d6c98022e23b4136f9f3e54e4662c3bc1bd1d84a42a9a0f0c1e9" dependencies = [ "proc-macro2", "quote", @@ -53,7 +53,7 @@ dependencies = [ [[package]] name = "unescaper" -version = "0.1.4" +version = "0.1.5" dependencies = [ "thiserror", ] diff --git a/Cargo.toml b/Cargo.toml index b0f674b..339dea0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ license = "GPL-3.0/MIT" name = "unescaper" readme = "README.md" repository = "https://github.com/hack-ink/unescaper" -version = "0.1.4" +version = "0.1.5" [profile.ci-dev] incremental = false diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 58a3a16..e5da0e7 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,4 +1,4 @@ [toolchain] -channel = "nightly" -components = ["cargo", "clippy", "rustc", "rustfmt", "rust-src"] +channel = "stable" +components = ["cargo", "clippy", "rust-src", "rustc", "rustfmt"] profile = "minimal"