463e62e833
## Proposed Changes Add `compare_fields(as_iter)` as a field attribute to `compare_fields_derive`. This allows any iterable type to be compared in the same as a slice (by index). This is forwards-compatible with tree-states types like `List` and `Vector` which can not be cast to slices.
15 lines
344 B
TOML
15 lines
344 B
TOML
[package]
|
|
name = "compare_fields"
|
|
version = "0.2.0"
|
|
authors = ["Paul Hauner <paul@paulhauner.com>"]
|
|
edition = { workspace = true }
|
|
|
|
[dependencies]
|
|
itertools = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
compare_fields_derive = { workspace = true }
|
|
|
|
[package.metadata.cargo-udeps.ignore]
|
|
development = ["compare_fields_derive"] # used in doc-tests
|