Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# https://docs.github.com/en/code-security/dependabot/working-with-dependabot/dependabot-options-reference#package-ecosystem-

version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,4 @@ jobs:
uses: actions/checkout@v4

- name: Run typos
uses: crate-ci/typos@v1.16.11
uses: crate-ci/typos@v1.34.0
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ target/

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb

# IDE files and folders
.idea/
75 changes: 34 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ edition = "2021"

[dependencies]
nucleo = { version = "*", path = "../" }
brunch = "0.5.0"
brunch = "0.11.0"
fuzzy-matcher = "0.3.7"
walkdir = "2"
2 changes: 1 addition & 1 deletion bench/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn checkout_linux_if_needed() {
.stdout(std::process::Stdio::inherit())
.status()
.expect("failed to git clone linux");
println!("did git clone linux...{:?}", output);
println!("did git clone linux...{output:?}");
}
}

Expand Down
11 changes: 6 additions & 5 deletions matcher/generate_case_fold_table.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/usr/bin/env bash
set -e

UCD_VERSION=16.0.0
dir=$(pwd)
mkdir /tmp/ucd-15.0.0
cd /tmp/ucd-15.0.0
curl -LO https://www.unicode.org/Public/zipped/15.0.0/UCD.zip
mkdir /tmp/ucd-$UCD_VERSION
cd /tmp/ucd-$UCD_VERSION
curl -LO https://www.unicode.org/Public/zipped/$UCD_VERSION/UCD.zip
unzip UCD.zip

cd "${dir}"
cargo install ucd-generate
ucd-generate case-folding-simple /tmp/ucd-15.0.0 --chars > src/chars/case_fold.rs
rm -rf /tmp/ucd-15.0.0
ucd-generate case-folding-simple /tmp/ucd-$UCD_VERSION --chars > src/chars/case_fold.rs
rm -rf /tmp/ucd-$UCD_VERSION
Loading