Commit Graph

6 Commits

Author SHA1 Message Date
Dmitry Dygalo 9aae87e573 build: Update builds
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-04-14 18:24:03 +02:00
Dmitry Dygalo 9771bc227c
chore: Clarify error on missing test suite
Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
2024-03-03 21:26:10 +01:00
OrangeTux 52cf5683d6 fix: unresolved import `"syn::ItemFn"` when running tests
`cargo test` fails with:

```
$ cargo test                                                                                                                                     master ✭
   Compiling json_schema_test_suite_proc_macro v0.3.0 (/home/auke/projects/jsonschema-rs/jsonschema-test-suite/proc_macro)
   Compiling jsonschema v0.17.1 (/home/auke/projects/jsonschema-rs/jsonschema)
error[E0432]: unresolved import `syn::ItemFn`
   --> /home/auke/projects/jsonschema-rs/jsonschema-test-suite/proc_macro/src/lib.rs:41:37
    |
41  | use syn::{parse_macro_input, Ident, ItemFn};
    |                                     ^^^^^^ no `ItemFn` in the root
    |
note: found an item that was configured out
   --> /home/auke/.cargo/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.109/src/lib.rs:365:32
    |
365 |     ItemEnum, ItemExternCrate, ItemFn, ItemForeignMod, ItemImpl, ItemMacro, ItemMacro2, ItemMod,
    |                                ^^^^^^
    = note: the item is gated behind the `full` feature

For more information about this error, try `rustc --explain E0432`.
```

This commit fixes the issue by applying the suggestion of the compiler.
2024-03-02 23:02:09 +01:00
Dmitry Dygalo 4a07ba9a82
chore: Update to Rust 2021 edition in all crates 2022-04-10 23:31:34 +02:00
Jacob Mischka 86bb87fa66 docs: Fix typo in jsonschema-test-suite README 2021-10-02 20:46:46 +02:00
Dmitry Dygalo bf17e1c8e0
chore: Port `json-schema-test-suite` as a local dependency
Signed-off-by: Dmitry Dygalo <dadygalo@gmail.com>
2021-07-23 10:17:53 +02:00