-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Implement a dedicated optimized searcher for the default syntax. - Use the `aho-corasick` crate for custom syntax. - Put custom syntax behind a feature.
- Loading branch information
1 parent
69cf095
commit 5054b80
Showing
26 changed files
with
507 additions
and
785 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,7 +55,7 @@ jobs: | |
name: cargo-hack | ||
|
||
- name: Test | ||
run: cargo test --workspace | ||
run: cargo test --workspace --all-features | ||
|
||
- name: Test (feature powerset) | ||
run: cargo hack test --package upon --feature-powerset --depth 2 --lib --tests | ||
|
@@ -71,12 +71,16 @@ jobs: | |
- uses: actions/checkout@v4 | ||
|
||
- uses: dtolnay/[email protected] | ||
- name: Check (no filters) | ||
- name: Check (no filters, no syntax) | ||
run: cargo check --no-default-features --features serde,unicode | ||
|
||
- uses: dtolnay/[email protected] | ||
- name: Check (no filters) | ||
run: cargo check --no-default-features --features serde,syntax,unicode | ||
|
||
- uses: dtolnay/[email protected] | ||
- name: Test | ||
run: cargo test | ||
run: cargo test --all-features | ||
env: | ||
RUSTFLAGS: --deny warnings | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>{ title }</title> | ||
</head> | ||
<body> | ||
<table> | ||
<tr> | ||
<th>Name</th> | ||
<th>Age</th> | ||
</tr> | ||
<%- for user in users -%> | ||
<% if not user.is_disabled %> | ||
<# This is a comment #> | ||
<tr> | ||
<td>{ user.name }</td> | ||
<td>{ user.age }</td> | ||
</tr> | ||
<% endif %> | ||
<%- endfor -%> | ||
</table> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>{ title }</title> | ||
</head> | ||
<body> | ||
<table> | ||
<tr> | ||
<th>Name</th> | ||
<th>Age</th> | ||
</tr> | ||
<%- for user in users -%> | ||
<% if not user.is_disabled %> | ||
<# This is a comment #> | ||
<tr> | ||
<td>{ user.name }</td> | ||
<td>{ user.age }</td> | ||
</tr> | ||
<% endif %> | ||
<%- endfor -%> | ||
</table> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My awesome webpage!</title> | ||
</head> | ||
<body> | ||
<table> | ||
<tr> | ||
<th>Name</th> | ||
<th>Age</th> | ||
</tr> | ||
|
||
<tr> | ||
<td>Nancy Wheeler</td> | ||
<td>17</td> | ||
</tr> | ||
|
||
|
||
<tr> | ||
<td>Steve Harrington</td> | ||
<td>18</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>My awesome webpage!</title> | ||
</head> | ||
<body> | ||
<table> | ||
<tr> | ||
<th>Name</th> | ||
<th>Age</th> | ||
</tr> | ||
|
||
<tr> | ||
<td>Nancy Wheeler</td> | ||
<td>17</td> | ||
</tr> | ||
|
||
|
||
<tr> | ||
<td>Steve Harrington</td> | ||
<td>18</td> | ||
</tr> | ||
</table> | ||
</body> | ||
</html> |
Oops, something went wrong.