Skip to content

Commit fdd04d2

Browse files
committed
feat: update to rust 2024
1 parent d809661 commit fdd04d2

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "json-patch-ext"
33
authors = ["Applied Computing Research Labs"]
44
version = "0.2.2"
5-
edition = "2021"
5+
edition = "2024"
66
description = "Unofficial extensions and helpers for json_patch"
77
license = "MIT"
88
readme = "README.md"

src/lib.rs

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,24 +51,14 @@ pub use jsonptr::{
5151
Token,
5252
};
5353
use serde_json::{
54-
json,
5554
Value,
55+
json,
5656
};
5757

5858
pub use crate::errors::PatchError;
5959

6060
pub mod prelude {
6161
pub use super::{
62-
add_operation,
63-
copy_operation,
64-
escape,
65-
format_ptr,
66-
matches,
67-
move_operation,
68-
patch_ext,
69-
remove_operation,
70-
replace_operation,
71-
test_operation,
7262
AddOperation,
7363
CopyOperation,
7464
MoveOperation,
@@ -81,6 +71,16 @@ pub mod prelude {
8171
ReplaceOperation,
8272
TestOperation,
8373
Token,
74+
add_operation,
75+
copy_operation,
76+
escape,
77+
format_ptr,
78+
matches,
79+
move_operation,
80+
patch_ext,
81+
remove_operation,
82+
replace_operation,
83+
test_operation,
8484
};
8585
}
8686

0 commit comments

Comments
 (0)