Skip to content

Commit

Permalink
Dropping treediff dependency.
Browse files Browse the repository at this point in the history
Re-implementing the diffing algorithm to fix an issue when "kind" of
the node changes (array into an object or vice-versa), #37.

Fix some invalid tests, add more tests.
  • Loading branch information
idubrov committed May 6, 2024
1 parent 7a1b4c2 commit 0217b48
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 83 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@ edition = "2021"

[features]
default = ["diff"]
diff = ["treediff"]
diff = []

[dependencies]
jsonptr = "0.4.7"
serde = { version = "1.0.159", features = ["derive"] }
serde_json = "1.0.95"
thiserror = "1.0.40"
treediff = { version = "4.0.2", features = ["with-serde-json"], optional = true }
utoipa = { version = "4.0", optional = true }

[dev-dependencies]
Expand Down

0 comments on commit 0217b48

Please sign in to comment.