serde_json_path_macros-0.1.6/.cargo_vcs_info.json0000644000000001640000000000100155540ustar { "git": { "sha1": "66283b5e2fa9d099439882c6afba395d5de7b9f3" }, "path_in_vcs": "serde_json_path_macros" }serde_json_path_macros-0.1.6/CHANGELOG.md000064400000000000000000000023241046102023000161550ustar 00000000000000# Changelog All noteable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). # Unreleased # 0.1.5 (3 November 2024) - **internal**: remove use of `once_cell` and use specific versions for crate dependencies ([#105]) [#105]: https://github.com/hiltontj/serde_json_path/pull/105 # 0.1.4 (3 March 2024) - **fixed**: bug preventing registered functions from being used as arguments to other functions ([#84]) - **testing**: support tests for non-determinism in compliance test suite ([#85]) [#84]: https://github.com/hiltontj/serde_json_path/pull/84 [#85]: https://github.com/hiltontj/serde_json_path/pull/85 # 0.1.3 (23 February 2024) - **internal**: update serde_json_path_core dependency # 0.1.2 (2 February 2024) - **internal**: address new clippy lints in Rust 1.74 ([#70]) - **internal**: code clean-up ([#72]) [#70]: https://github.com/hiltontj/serde_json_path/pull/70 [#72]: https://github.com/hiltontj/serde_json_path/pull/72 # 0.1.1 (9 November 2023) - bump version for `serde_json_path_core` update _Previous versions not tracked here._ serde_json_path_macros-0.1.6/Cargo.lock0000644000000075350000000000100135400ustar # This file is automatically @generated by Cargo. # It is not intended for manual editing. version = 4 [[package]] name = "inventory" version = "0.3.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "54b12ebb6799019b044deaf431eadfe23245b259bba5a2c0796acec3943a3cdb" dependencies = [ "rustversion", ] [[package]] name = "itoa" version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674" [[package]] name = "memchr" version = "2.7.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" [[package]] name = "proc-macro2" version = "1.0.93" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "60946a68e5f9d28b0dc1c21bb8a97ee7d018a8b322fa57838ba31cc878e22d99" dependencies = [ "unicode-ident", ] [[package]] name = "quote" version = "1.0.38" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc" dependencies = [ "proc-macro2", ] [[package]] name = "rustversion" version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4" [[package]] name = "ryu" version = "1.0.19" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd" [[package]] name = "serde" version = "1.0.217" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "02fc4265df13d6fa1d00ecff087228cc0a2b5f3c0e87e258d8b94a156e984c70" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" version = "1.0.217" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5a9bf7cf98d04a2b28aead066b7496853d4779c9cc183c440dbac457641e19a0" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "serde_json" version = "1.0.138" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d434192e7da787e94a6ea7e9670b26a036d0ca41e0b7efb2676dd32bae872949" dependencies = [ "itoa", "memchr", "ryu", "serde", ] [[package]] name = "serde_json_path_core" version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dde67d8dfe7d4967b5a95e247d4148368ddd1e753e500adb34b3ffe40c6bc1bc" dependencies = [ "inventory", "serde", "serde_json", "thiserror", ] [[package]] name = "serde_json_path_macros" version = "0.1.6" dependencies = [ "inventory", "serde_json", "serde_json_path_core", "serde_json_path_macros_internal", ] [[package]] name = "serde_json_path_macros_internal" version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "aafbefbe175fa9bf03ca83ef89beecff7d2a95aaacd5732325b90ac8c3bd7b90" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "syn" version = "2.0.98" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1" dependencies = [ "proc-macro2", "quote", "unicode-ident", ] [[package]] name = "thiserror" version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d452f284b73e6d76dd36758a0c8684b1d5be31f92b89d07fd5822175732206fc" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" version = "2.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "26afc1baea8a989337eeb52b6e72a039780ce45c3edfcc9c5b9d112feeb173c2" dependencies = [ "proc-macro2", "quote", "syn", ] [[package]] name = "unicode-ident" version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a210d160f08b701c8721ba1c726c11662f877ea6b7094007e1ca9a1041945034" serde_json_path_macros-0.1.6/Cargo.toml0000644000000022760000000000100135600ustar # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "serde_json_path_macros" version = "0.1.6" authors = ["Trevor Hilton "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Macros for the serde_json_path crate" readme = "README.md" keywords = [ "json", "jsonpath", "json_path", "serde", "serde_json", ] license = "MIT" repository = "https://github.com/hiltontj/serde_json_path" [lib] name = "serde_json_path_macros" path = "src/lib.rs" [dependencies.inventory] version = "0.3.19" [dependencies.serde_json_path_core] version = "0.2.2" [dependencies.serde_json_path_macros_internal] version = "0.1.2" [dev-dependencies.serde_json] version = "1" serde_json_path_macros-0.1.6/Cargo.toml.orig000064400000000000000000000011671046102023000172370ustar 00000000000000[package] name = "serde_json_path_macros" version = "0.1.6" edition = "2021" license = "MIT" authors = ["Trevor Hilton "] description = "Macros for the serde_json_path crate" repository = "https://github.com/hiltontj/serde_json_path" readme = "README.md" keywords = ["json", "jsonpath", "json_path", "serde", "serde_json"] [lib] [dependencies] # local crates: serde_json_path_macros_internal = { path = "src/internal", version = "0.1.2" } serde_json_path_core = { path = "../serde_json_path_core", version = "0.2.2" } # crates.io crates: inventory.workspace = true [dev-dependencies] serde_json = "1" serde_json_path_macros-0.1.6/LICENSE-MIT000064400000000000000000000020561046102023000160020ustar 00000000000000MIT License Copyright (c) 2023 Trevor Hilton Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. serde_json_path_macros-0.1.6/README.md000064400000000000000000000001721046102023000156220ustar 00000000000000# serde_json_path_macros Macros for the [`serde_json_path`][sjp] crate. [sjp]: https://crates.io/crates/serde_json_path serde_json_path_macros-0.1.6/src/lib.rs000064400000000000000000000025061046102023000162510ustar 00000000000000//! Macros for [`serde_json_path`] //! //! [`serde_json_path`]: https://crates.io/crates/serde_json_path #![warn( clippy::all, clippy::dbg_macro, clippy::todo, clippy::empty_enum, clippy::enum_glob_use, clippy::mem_forget, clippy::unused_self, clippy::filter_map_next, clippy::needless_continue, clippy::needless_borrow, clippy::match_wildcard_for_single_variants, clippy::if_let_mutex, unexpected_cfgs, clippy::await_holding_lock, clippy::match_on_vec_items, clippy::imprecise_flops, clippy::suboptimal_flops, clippy::lossy_float_literal, clippy::rest_pat_in_fully_bound_structs, clippy::fn_params_excessive_bools, clippy::exit, clippy::inefficient_to_string, clippy::linkedlist, clippy::macro_use_imports, clippy::option_option, clippy::verbose_file_reads, clippy::unnested_or_patterns, clippy::str_to_string, rust_2018_idioms, future_incompatible, nonstandard_style, missing_debug_implementations, missing_docs )] #![deny(unreachable_pub)] #![allow(elided_lifetimes_in_paths, clippy::type_complexity)] #![forbid(unsafe_code)] pub use serde_json_path_macros_internal::function; pub use serde_json_path_macros_internal::register; #[doc(hidden)] pub use ::inventory; #[doc(hidden)] pub use ::serde_json_path_core;