-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partial JSON parsing support trailing strings (#101)
- Loading branch information
1 parent
240f180
commit c7f8fdd
Showing
20 changed files
with
410 additions
and
150 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
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,44 @@ | ||
.DEFAULT_GOAL := all | ||
|
||
.PHONY: format | ||
format: | ||
@cargo fmt --version | ||
cargo fmt | ||
|
||
.PHONY: lint | ||
lint: | ||
@cargo clippy --version | ||
cargo clippy -- -D warnings | ||
cargo doc | ||
|
||
.PHONY: test | ||
test: | ||
cargo test | ||
|
||
.PHONY: python-install | ||
python-install: | ||
pip install maturin | ||
pip install -r crates/jiter-python/tests/requirements.txt | ||
|
||
.PHONY: python-dev | ||
python-dev: | ||
maturin develop -m crates/jiter-python/Cargo.toml | ||
|
||
.PHONY: python-test | ||
python-test: python-dev | ||
pytest crates/jiter-python/tests | ||
|
||
.PHONY: bench | ||
bench: | ||
cargo bench -p jiter -F python | ||
|
||
.PHONY: fuzz | ||
fuzz: | ||
cargo +nightly fuzz run --fuzz-dir crates/fuzz compare_to_serde --release | ||
|
||
.PHONY: fuzz-skip | ||
fuzz-skip: | ||
cargo +nightly fuzz run --fuzz-dir crates/fuzz compare_skip --release | ||
|
||
.PHONY: all | ||
all: format lint test test-python |
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
Oops, something went wrong.