diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 73d696b..499e4ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -31,7 +31,7 @@ jobs: - run: pip install pre-commit - run: pre-commit run --all-files - working-directory: ./python + working-directory: ./bindings/python test-stable: strategy: @@ -51,41 +51,8 @@ jobs: profile: minimal toolchain: stable override: true - - uses: actions-rs/cargo@v1 - with: - command: test - args: --no-fail-fast - - coverage: - name: Test + Coverage (nightly) - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - submodules: true - - uses: actions-rs/toolchain@v1 - with: - toolchain: nightly - override: true - - uses: actions-rs/cargo@v1 - with: - command: clean - - uses: actions-rs/cargo@v1 - with: - command: test - args: --no-fail-fast - env: - CARGO_INCREMENTAL: '0' - RUSTFLAGS: '-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-code -Coverflow-checks=off -Cpanic=abort -Zpanic_abort_tests' - RUSTDOCFLAGS: '-Cpanic=abort' - - id: coverage - uses: actions-rs/grcov@v0.1 - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1.0.15 - if: ${{ env.GITHUB_REPOSITORY }} == 'Stranger6667/jsonschema-rs' - with: - name: coverage - file: ${{ steps.coverage.outputs.report }} + - run: cargo test --no-fail-fast + working-directory: ./jsonschema test-python: strategy: @@ -106,7 +73,7 @@ jobs: architecture: x64 - run: python -m pip install tox - working-directory: ./python + working-directory: ./bindings/python - uses: actions-rs/toolchain@v1 with: @@ -115,7 +82,35 @@ jobs: - name: Run ${{ matrix.python }} tox job run: tox -e py - working-directory: ./python + working-directory: ./bindings/python + + test-python-sdist: + runs-on: ubuntu-latest + name: Testing Python source code distribution + steps: + - uses: actions/checkout@v2 + with: + submodules: true + - uses: actions/setup-python@v2 + with: + python-version: '3.8' + architecture: x64 + + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - run: python -m pip install tox + working-directory: ./bindings/python + + - run: tox -e build-sdist + working-directory: ./bindings/python + + - name: Installing sdist + run: pip install dist/* + working-directory: ./bindings/python + fmt: name: Rustfmt @@ -128,10 +123,8 @@ jobs: toolchain: stable override: true components: rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check + - run: cargo fmt --all -- --check + working-directory: ./jsonschema clippy: name: Clippy @@ -146,7 +139,5 @@ jobs: toolchain: stable override: true components: clippy - - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-targets --all-features -- -D warnings + - run: cargo clippy --all-targets --all-features -- -D warnings + working-directory: ./jsonschema diff --git a/.github/workflows/python-release.yml b/.github/workflows/python-release.yml index db9f0e7..b185d22 100644 --- a/.github/workflows/python-release.yml +++ b/.github/workflows/python-release.yml @@ -34,12 +34,12 @@ jobs: - name: Install Tox run: pip install tox - name: Build wheel - working-directory: ./python + working-directory: ./bindings/python run: tox -e build-wheel - uses: actions/upload-artifact@v2 with: name: Distribution Artifacts - path: python/dist/ + path: bindings/python/dist/ create_wheels_manylinux: name: Wheels for Python ${{ matrix.PYTHON_IMPLEMENTATION_ABI }} / Linux @@ -78,7 +78,7 @@ jobs: - name: Install Tox run: ${{ env.PYTHON_SYS_EXECUTABLE }} -m pip install tox - name: Build wheel - working-directory: ./python + working-directory: ./bindings/python run: | ${{ env.PYTHON_SYS_EXECUTABLE }} -m tox -e build-wheel # Ensure that the wheel is tagged as manylinux2014 platform @@ -92,7 +92,7 @@ jobs: - uses: actions/upload-artifact@v2 with: name: Distribution Artifacts - path: python/dist/ + path: bindings/python/dist/ create_source_dist: name: Create sdist package @@ -110,12 +110,12 @@ jobs: - name: Install Tox run: pip install tox - name: Build sdist - working-directory: ./python + working-directory: ./bindings/python run: tox -e build-sdist - uses: actions/upload-artifact@v2 with: name: Distribution Artifacts - path: python/dist/ + path: bindings/python/dist/ upload_to_pypi: needs: @@ -128,7 +128,7 @@ jobs: - uses: actions/download-artifact@v2 with: name: Distribution Artifacts - path: python/dist/ + path: bindings/python/dist/ - name: Publish distribution package to PyPI uses: pypa/gh-action-pypi-publish@v1.2.2 with: diff --git a/.gitignore b/.gitignore index 505b13f..15ed759 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,9 @@ # Rust -/target -/Cargo.lock +/jsonschema/target +/bindings/*/target +.hypothesis +.benchmarks +/jsonschema/Cargo.lock # IDEs /.idea diff --git a/.gitmodules b/.gitmodules index 6ebd10a..3a4aa3a 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "tests/suite"] - path = tests/suite - url = https://github.com/json-schema-org/JSON-Schema-Test-Suite.git +[submodule "jsonschema/tests/suite"] + path = jsonschema/tests/suite + url = git@github.com:json-schema-org/JSON-Schema-Test-Suite.git diff --git a/README.md b/README.md index 569728e..80dda4d 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ A JSON Schema validator implementation. It compiles schema into a validation tre Supported drafts: -- Draft 7 (except optional `idn-hostname.json` test cases) -- Draft 6 -- Draft 4 (except optional `bignum.json` test cases) +- Draft 7 (except optional `idn-hostname.json`, `float_overflow.json` and `format_email.json` test cases) +- Draft 6 (except optional `float_overflow.json` and `format_email.json` test cases) +- Draft 4 (except optional `bignum.json`, `float_overflow.json` and `format_email.json` test cases) ```toml # Cargo.toml diff --git a/python/.gitignore b/bindings/python/.gitignore similarity index 100% rename from python/.gitignore rename to bindings/python/.gitignore diff --git a/python/CHANGELOG.md b/bindings/python/CHANGELOG.md similarity index 94% rename from python/CHANGELOG.md rename to bindings/python/CHANGELOG.md index e6c8d01..dfcde7a 100644 --- a/python/CHANGELOG.md +++ b/bindings/python/CHANGELOG.md @@ -9,6 +9,9 @@ ### Fixed - Not necessary network requests for schemas with `$id` values with trailing `#` symbol. [#163](https://github.com/Stranger6667/jsonschema-rs/issues/163) +- Source code distribution. It was missing the source code for the underlying Rust crate and were leading to + a build error during `pip install css-inline` on platforms that we don't have wheels for. + [#159](https://github.com/Stranger6667/jsonschema-rs/issues/159) ### Performance diff --git a/python/Cargo.lock b/bindings/python/Cargo.lock similarity index 100% rename from python/Cargo.lock rename to bindings/python/Cargo.lock diff --git a/python/Cargo.toml b/bindings/python/Cargo.toml similarity index 91% rename from python/Cargo.toml rename to bindings/python/Cargo.toml index a437fbd..9b73c01 100644 --- a/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -12,10 +12,15 @@ crate-type = ["cdylib"] [build-dependencies] built = { version = "0.4", features = ["chrono"] } +[dependencies.jsonschema] +path = "../../jsonschema" +version = "*" +default-features = false +features = ["reqwest"] + [dependencies] serde_json = "1" serde = "1" -jsonschema = { path = "../", version = "*" , default-features = false, features = ["reqwest"] } pyo3 = { version = "^0.12", features = ["extension-module"] } pyo3-built = "0.4" diff --git a/python/MANIFEST.in b/bindings/python/MANIFEST.in similarity index 57% rename from python/MANIFEST.in rename to bindings/python/MANIFEST.in index f3310df..578c93a 100644 --- a/python/MANIFEST.in +++ b/bindings/python/MANIFEST.in @@ -3,3 +3,5 @@ include build.rs include pyproject.toml include rust-toolchain recursive-include src * +recursive-include jsonschema-lib * +recursive-exclude jsonschema-lib/target * diff --git a/python/README.rst b/bindings/python/README.rst similarity index 100% rename from python/README.rst rename to bindings/python/README.rst diff --git a/python/benches/bench.py b/bindings/python/benches/bench.py similarity index 100% rename from python/benches/bench.py rename to bindings/python/benches/bench.py diff --git a/python/benches/conftest.py b/bindings/python/benches/conftest.py similarity index 100% rename from python/benches/conftest.py rename to bindings/python/benches/conftest.py diff --git a/bindings/python/build-sdist.sh b/bindings/python/build-sdist.sh new file mode 100755 index 0000000..283aef3 --- /dev/null +++ b/bindings/python/build-sdist.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -ex + +# Create a symlink for jsonschema +ln -sf ../../jsonschema jsonschema-lib +# Modify Cargo.toml to include this symlink +cp Cargo.toml Cargo.toml.orig +sed -i 's/\.\.\/\.\.\/jsonschema/\.\/jsonschema-lib/' Cargo.toml +# Build the source distribution +python setup.py sdist +rm jsonschema-lib +mv Cargo.toml.orig Cargo.toml diff --git a/python/build.rs b/bindings/python/build.rs similarity index 100% rename from python/build.rs rename to bindings/python/build.rs diff --git a/python/pyproject.toml b/bindings/python/pyproject.toml similarity index 100% rename from python/pyproject.toml rename to bindings/python/pyproject.toml diff --git a/python/rust-toolchain b/bindings/python/rust-toolchain similarity index 100% rename from python/rust-toolchain rename to bindings/python/rust-toolchain diff --git a/python/setup.py b/bindings/python/setup.py similarity index 100% rename from python/setup.py rename to bindings/python/setup.py diff --git a/python/src/lib.rs b/bindings/python/src/lib.rs similarity index 100% rename from python/src/lib.rs rename to bindings/python/src/lib.rs diff --git a/python/src/ser.rs b/bindings/python/src/ser.rs similarity index 100% rename from python/src/ser.rs rename to bindings/python/src/ser.rs diff --git a/python/src/string.rs b/bindings/python/src/string.rs similarity index 100% rename from python/src/string.rs rename to bindings/python/src/string.rs diff --git a/python/src/types.rs b/bindings/python/src/types.rs similarity index 100% rename from python/src/types.rs rename to bindings/python/src/types.rs diff --git a/python/tests-py/test_jsonschema.py b/bindings/python/tests-py/test_jsonschema.py similarity index 100% rename from python/tests-py/test_jsonschema.py rename to bindings/python/tests-py/test_jsonschema.py diff --git a/python/tests-py/test_suite.py b/bindings/python/tests-py/test_suite.py similarity index 100% rename from python/tests-py/test_suite.py rename to bindings/python/tests-py/test_suite.py diff --git a/python/tox.ini b/bindings/python/tox.ini similarity index 96% rename from python/tox.ini rename to bindings/python/tox.ini index ac1487c..f8152e0 100644 --- a/python/tox.ini +++ b/bindings/python/tox.ini @@ -19,7 +19,7 @@ commands = deps = setuptools-rust commands = - python setup.py sdist + ./build-sdist.sh [testenv:build-wheel] passenv = diff --git a/Cargo.toml b/jsonschema/Cargo.toml similarity index 100% rename from Cargo.toml rename to jsonschema/Cargo.toml diff --git a/benches/canada.json b/jsonschema/benches/canada.json similarity index 100% rename from benches/canada.json rename to jsonschema/benches/canada.json diff --git a/benches/canada_schema.json b/jsonschema/benches/canada_schema.json similarity index 100% rename from benches/canada_schema.json rename to jsonschema/benches/canada_schema.json diff --git a/benches/jsonschema.rs b/jsonschema/benches/jsonschema.rs similarity index 100% rename from benches/jsonschema.rs rename to jsonschema/benches/jsonschema.rs diff --git a/benches/small_invalid.json b/jsonschema/benches/small_invalid.json similarity index 100% rename from benches/small_invalid.json rename to jsonschema/benches/small_invalid.json diff --git a/benches/small_schema.json b/jsonschema/benches/small_schema.json similarity index 100% rename from benches/small_schema.json rename to jsonschema/benches/small_schema.json diff --git a/benches/small_valid.json b/jsonschema/benches/small_valid.json similarity index 100% rename from benches/small_valid.json rename to jsonschema/benches/small_valid.json diff --git a/src/compilation/context.rs b/jsonschema/src/compilation/context.rs similarity index 100% rename from src/compilation/context.rs rename to jsonschema/src/compilation/context.rs diff --git a/src/compilation/mod.rs b/jsonschema/src/compilation/mod.rs similarity index 100% rename from src/compilation/mod.rs rename to jsonschema/src/compilation/mod.rs diff --git a/src/compilation/options.rs b/jsonschema/src/compilation/options.rs similarity index 100% rename from src/compilation/options.rs rename to jsonschema/src/compilation/options.rs diff --git a/src/content_encoding.rs b/jsonschema/src/content_encoding.rs similarity index 100% rename from src/content_encoding.rs rename to jsonschema/src/content_encoding.rs diff --git a/src/content_media_type.rs b/jsonschema/src/content_media_type.rs similarity index 100% rename from src/content_media_type.rs rename to jsonschema/src/content_media_type.rs diff --git a/src/error.rs b/jsonschema/src/error.rs similarity index 100% rename from src/error.rs rename to jsonschema/src/error.rs diff --git a/src/keywords/additional_items.rs b/jsonschema/src/keywords/additional_items.rs similarity index 100% rename from src/keywords/additional_items.rs rename to jsonschema/src/keywords/additional_items.rs diff --git a/src/keywords/additional_properties.rs b/jsonschema/src/keywords/additional_properties.rs similarity index 100% rename from src/keywords/additional_properties.rs rename to jsonschema/src/keywords/additional_properties.rs diff --git a/src/keywords/all_of.rs b/jsonschema/src/keywords/all_of.rs similarity index 100% rename from src/keywords/all_of.rs rename to jsonschema/src/keywords/all_of.rs diff --git a/src/keywords/any_of.rs b/jsonschema/src/keywords/any_of.rs similarity index 100% rename from src/keywords/any_of.rs rename to jsonschema/src/keywords/any_of.rs diff --git a/src/keywords/boolean.rs b/jsonschema/src/keywords/boolean.rs similarity index 100% rename from src/keywords/boolean.rs rename to jsonschema/src/keywords/boolean.rs diff --git a/src/keywords/const_.rs b/jsonschema/src/keywords/const_.rs similarity index 100% rename from src/keywords/const_.rs rename to jsonschema/src/keywords/const_.rs diff --git a/src/keywords/contains.rs b/jsonschema/src/keywords/contains.rs similarity index 100% rename from src/keywords/contains.rs rename to jsonschema/src/keywords/contains.rs diff --git a/src/keywords/content.rs b/jsonschema/src/keywords/content.rs similarity index 100% rename from src/keywords/content.rs rename to jsonschema/src/keywords/content.rs diff --git a/src/keywords/dependencies.rs b/jsonschema/src/keywords/dependencies.rs similarity index 100% rename from src/keywords/dependencies.rs rename to jsonschema/src/keywords/dependencies.rs diff --git a/src/keywords/enum_.rs b/jsonschema/src/keywords/enum_.rs similarity index 100% rename from src/keywords/enum_.rs rename to jsonschema/src/keywords/enum_.rs diff --git a/src/keywords/exclusive_maximum.rs b/jsonschema/src/keywords/exclusive_maximum.rs similarity index 100% rename from src/keywords/exclusive_maximum.rs rename to jsonschema/src/keywords/exclusive_maximum.rs diff --git a/src/keywords/exclusive_minimum.rs b/jsonschema/src/keywords/exclusive_minimum.rs similarity index 100% rename from src/keywords/exclusive_minimum.rs rename to jsonschema/src/keywords/exclusive_minimum.rs diff --git a/src/keywords/format.rs b/jsonschema/src/keywords/format.rs similarity index 100% rename from src/keywords/format.rs rename to jsonschema/src/keywords/format.rs diff --git a/src/keywords/helpers.rs b/jsonschema/src/keywords/helpers.rs similarity index 100% rename from src/keywords/helpers.rs rename to jsonschema/src/keywords/helpers.rs diff --git a/src/keywords/if_.rs b/jsonschema/src/keywords/if_.rs similarity index 100% rename from src/keywords/if_.rs rename to jsonschema/src/keywords/if_.rs diff --git a/src/keywords/items.rs b/jsonschema/src/keywords/items.rs similarity index 100% rename from src/keywords/items.rs rename to jsonschema/src/keywords/items.rs diff --git a/src/keywords/legacy/maximum_draft_4.rs b/jsonschema/src/keywords/legacy/maximum_draft_4.rs similarity index 100% rename from src/keywords/legacy/maximum_draft_4.rs rename to jsonschema/src/keywords/legacy/maximum_draft_4.rs diff --git a/src/keywords/legacy/minimum_draft_4.rs b/jsonschema/src/keywords/legacy/minimum_draft_4.rs similarity index 100% rename from src/keywords/legacy/minimum_draft_4.rs rename to jsonschema/src/keywords/legacy/minimum_draft_4.rs diff --git a/src/keywords/legacy/mod.rs b/jsonschema/src/keywords/legacy/mod.rs similarity index 100% rename from src/keywords/legacy/mod.rs rename to jsonschema/src/keywords/legacy/mod.rs diff --git a/src/keywords/legacy/type_draft_4.rs b/jsonschema/src/keywords/legacy/type_draft_4.rs similarity index 100% rename from src/keywords/legacy/type_draft_4.rs rename to jsonschema/src/keywords/legacy/type_draft_4.rs diff --git a/src/keywords/max_items.rs b/jsonschema/src/keywords/max_items.rs similarity index 100% rename from src/keywords/max_items.rs rename to jsonschema/src/keywords/max_items.rs diff --git a/src/keywords/max_length.rs b/jsonschema/src/keywords/max_length.rs similarity index 100% rename from src/keywords/max_length.rs rename to jsonschema/src/keywords/max_length.rs diff --git a/src/keywords/max_properties.rs b/jsonschema/src/keywords/max_properties.rs similarity index 100% rename from src/keywords/max_properties.rs rename to jsonschema/src/keywords/max_properties.rs diff --git a/src/keywords/maximum.rs b/jsonschema/src/keywords/maximum.rs similarity index 100% rename from src/keywords/maximum.rs rename to jsonschema/src/keywords/maximum.rs diff --git a/src/keywords/min_items.rs b/jsonschema/src/keywords/min_items.rs similarity index 100% rename from src/keywords/min_items.rs rename to jsonschema/src/keywords/min_items.rs diff --git a/src/keywords/min_length.rs b/jsonschema/src/keywords/min_length.rs similarity index 100% rename from src/keywords/min_length.rs rename to jsonschema/src/keywords/min_length.rs diff --git a/src/keywords/min_properties.rs b/jsonschema/src/keywords/min_properties.rs similarity index 100% rename from src/keywords/min_properties.rs rename to jsonschema/src/keywords/min_properties.rs diff --git a/src/keywords/minimum.rs b/jsonschema/src/keywords/minimum.rs similarity index 100% rename from src/keywords/minimum.rs rename to jsonschema/src/keywords/minimum.rs diff --git a/src/keywords/mod.rs b/jsonschema/src/keywords/mod.rs similarity index 100% rename from src/keywords/mod.rs rename to jsonschema/src/keywords/mod.rs diff --git a/src/keywords/multiple_of.rs b/jsonschema/src/keywords/multiple_of.rs similarity index 100% rename from src/keywords/multiple_of.rs rename to jsonschema/src/keywords/multiple_of.rs diff --git a/src/keywords/not.rs b/jsonschema/src/keywords/not.rs similarity index 100% rename from src/keywords/not.rs rename to jsonschema/src/keywords/not.rs diff --git a/src/keywords/one_of.rs b/jsonschema/src/keywords/one_of.rs similarity index 100% rename from src/keywords/one_of.rs rename to jsonschema/src/keywords/one_of.rs diff --git a/src/keywords/pattern.rs b/jsonschema/src/keywords/pattern.rs similarity index 100% rename from src/keywords/pattern.rs rename to jsonschema/src/keywords/pattern.rs diff --git a/src/keywords/pattern_properties.rs b/jsonschema/src/keywords/pattern_properties.rs similarity index 100% rename from src/keywords/pattern_properties.rs rename to jsonschema/src/keywords/pattern_properties.rs diff --git a/src/keywords/properties.rs b/jsonschema/src/keywords/properties.rs similarity index 100% rename from src/keywords/properties.rs rename to jsonschema/src/keywords/properties.rs diff --git a/src/keywords/property_names.rs b/jsonschema/src/keywords/property_names.rs similarity index 100% rename from src/keywords/property_names.rs rename to jsonschema/src/keywords/property_names.rs diff --git a/src/keywords/ref_.rs b/jsonschema/src/keywords/ref_.rs similarity index 100% rename from src/keywords/ref_.rs rename to jsonschema/src/keywords/ref_.rs diff --git a/src/keywords/required.rs b/jsonschema/src/keywords/required.rs similarity index 100% rename from src/keywords/required.rs rename to jsonschema/src/keywords/required.rs diff --git a/src/keywords/type_.rs b/jsonschema/src/keywords/type_.rs similarity index 100% rename from src/keywords/type_.rs rename to jsonschema/src/keywords/type_.rs diff --git a/src/keywords/unique_items.rs b/jsonschema/src/keywords/unique_items.rs similarity index 100% rename from src/keywords/unique_items.rs rename to jsonschema/src/keywords/unique_items.rs diff --git a/src/lib.rs b/jsonschema/src/lib.rs similarity index 100% rename from src/lib.rs rename to jsonschema/src/lib.rs diff --git a/src/main.rs b/jsonschema/src/main.rs similarity index 100% rename from src/main.rs rename to jsonschema/src/main.rs diff --git a/src/primitive_type.rs b/jsonschema/src/primitive_type.rs similarity index 100% rename from src/primitive_type.rs rename to jsonschema/src/primitive_type.rs diff --git a/src/resolver.rs b/jsonschema/src/resolver.rs similarity index 100% rename from src/resolver.rs rename to jsonschema/src/resolver.rs diff --git a/src/schemas.rs b/jsonschema/src/schemas.rs similarity index 100% rename from src/schemas.rs rename to jsonschema/src/schemas.rs diff --git a/src/validator.rs b/jsonschema/src/validator.rs similarity index 100% rename from src/validator.rs rename to jsonschema/src/validator.rs diff --git a/jsonschema/tests/suite b/jsonschema/tests/suite new file mode 160000 index 0000000..8daea3f --- /dev/null +++ b/jsonschema/tests/suite @@ -0,0 +1 @@ +Subproject commit 8daea3f47e52526518cc2e88ef5d25d8a7070e3c diff --git a/tests/test_suite.rs b/jsonschema/tests/test_suite.rs similarity index 84% rename from tests/test_suite.rs rename to jsonschema/tests/test_suite.rs index dc39d8a..9f21dc2 100644 --- a/tests/test_suite.rs +++ b/jsonschema/tests/test_suite.rs @@ -1,10 +1,12 @@ use json_schema_test_suite::{json_schema_test_suite, TestCase}; use jsonschema::{Draft, JSONSchema}; -#[json_schema_test_suite("tests/suite", "draft4", {"optional_bignum_0_0", "optional_bignum_2_0"})] -#[json_schema_test_suite("tests/suite", "draft6")] +#[json_schema_test_suite("tests/suite", "draft4", {"optional_bignum_0_0", "optional_bignum_2_0", "optional_float_overflow_0_0", r"optional_format_email_0_\d+"})] +#[json_schema_test_suite("tests/suite", "draft6", {"optional_float_overflow_0_0", r"optional_format_email_0_\d+"})] #[json_schema_test_suite("tests/suite", "draft7", { r"optional_format_idn_hostname_0_\d+", // https://github.com/Stranger6667/jsonschema-rs/issues/101 + "optional_float_overflow_0_0", + r"optional_format_email_0_\d+" })] fn test_draft(_server_address: &str, test_case: TestCase) { let draft_version = match test_case.draft_version.as_ref() { diff --git a/perf-helpers/Cargo.toml b/perf-helpers/Cargo.toml index 458a3d5..3e26b51 100644 --- a/perf-helpers/Cargo.toml +++ b/perf-helpers/Cargo.toml @@ -7,7 +7,7 @@ publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -jsonschema = { path = "../" } +jsonschema = { path = "../jsonschema" } serde_json = "1" [profile.release] diff --git a/tests/suite b/tests/suite deleted file mode 160000 index 40601f6..0000000 --- a/tests/suite +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 40601f62853229f26d0533bfc6cd5afb413fbf60