Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc Updates #57

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,6 @@ jobs:
uses: ./.github/actions/test
with:
toolchain: nightly
target: "x86_64-unknown-linux-gnu"
Dr-Emann marked this conversation as resolved.
Show resolved Hide resolved
rustflags: "-Z sanitizer=address"
rustdocflags: "-Z sanitizer=address"
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ to [Semantic Versioning][].

## [Unreleased]

- Trait bounds removed from generic types, bounds are only required for impls

## [0.5.3] - 2022-07-06

- Fix buffer overflows in find. (#55)
Expand Down
12 changes: 11 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,22 @@ documentation = "https://docs.rs/jetscii/"

license = "MIT OR Apache-2.0"

edition = "2018"

[features]
# This feature is now a no-op, but we keep it around for backwards compatibility
benchmarks = []
pattern = []

[dev-dependencies]
aho-corasick = "1.1.0"
proptest = "1.0.0"
lazy_static = "1.0.0"
region = "3.0.0"
memmap = "0.7.0"
memmap2 = "0.9.0"
criterion = "0.5.0"
memchr = "2.0.0"

[[bench]]
name = "benchmarks"
harness = false
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ characters or byte slices for sets of bytes.
### Searching for a set of ASCII characters

```rust
#[macro_use]
extern crate jetscii;
use jetscii::ascii_chars;

fn main() {
let part_number = "86-J52:rev1";
Expand All @@ -23,8 +22,7 @@ fn main() {
### Searching for a set of bytes

```rust
#[macro_use]
extern crate jetscii;
use jetscii::bytes;

fn main() {
let raw_data = [0x00, 0x01, 0x10, 0xFF, 0x42];
Expand Down
Loading