issues Search Results · repo:amethyst/serde-diff language:Rust
Filter by
21 results
(57 ms)21 results
inamethyst/serde-diff (press backspace or delete to remove)Hello! It seems like the output of algorithm can be serialized, however, I see no way of iterating over changes in order
to process them manually.
NChechulin
- Opened on Jan 5, 2023
- #43
Looking at the issues, PR and latest commit, this crate looks unmaintained, which is a pity.
Is there a fork that is maintained?
stephanemagnenat
- 6
- Opened on Jun 29, 2022
- #42
See the applied test where map like structure is tested.
running 4 tests
test tests::test_targeted ... ok
test tests::test_array ... ok
test tests::test_tuple ... ok
test tests::test_option ... FAILED ...
PPakalns
- Opened on Sep 8, 2021
- #39
When diffing an enum like:
#[derive(SerdeDiff, Serialize, Deserialize, Debug, PartialEq, Clone)]
enum Value {
Str(String),
Int(i32),
}
Let s say we have the diff Value::Str( A ) - Value::Str( ...
Diggsey
- Opened on Jul 4, 2021
- #35
let x = QueryResult::Test(1);
let y = QueryResult::Test(2);
let diff = serde_diff::Config::new()
.with_field_path_mode(FieldPathMode::Index)
.serializable_diff( ...
Diggsey
- Opened on Apr 24, 2021
- #32
It should at least be documented that it will always return false until the diff is serialized to a serializer.
Diggsey
- Opened on Apr 21, 2021
- #31
min_const_generics is in stable now, so we can use it for the array impl:
https://github.com/amethyst/serde-diff/blob/e461da41c9339af3ecadf9f4aa61ae91c1f79e97/src/implementation.rs#L17 Other
crates have ...
Boscop
- Opened on Apr 15, 2021
- #30
The code for Option
https://github.com/amethyst/serde-diff/blob/e461da41c9339af3ecadf9f4aa61ae91c1f79e97/src/implementation.rs#L315-L356
would be more readable if written like the code for arrays
https://github.com/amethyst/serde-diff/blob/e461da41c9339af3ecadf9f4aa61ae91c1f79e97/src/implementation.rs#L25-L37 ...
Boscop
- Opened on Apr 15, 2021
- #29
Example to reproduce the issue
use serde::{Deserialize, Serialize};
use serde_diff::{Apply, Diff, SerdeDiff};
#[derive(SerdeDiff, Serialize, Deserialize, PartialEq, Debug, Clone)]
struct TestStruct { ...
User-TGK
- 3
- Opened on Apr 12, 2021
- #28
SerdeDiff derive macro uses generic parameter A. It might be better to rename it to __A or __FirstParam or something
like that, to free up this name for end user?
kgv
- Opened on Feb 26, 2021
- #27

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.