ot-tools-io-derive

Crates.ioot-tools-io-derive
lib.rsot-tools-io-derive
version0.4.3
created_at2025-04-28 02:14:12.926725+00
updated_at2025-08-29 16:45:17.223719+00
descriptionDerive proc macros used in the `ot-tools-io` library crate.
homepagehttps://gitlab.com/ot-tools/ot-tools-io/
repositoryhttps://gitlab.com/ot-tools/ot-tools-io/
max_upload_size
id1651689
size12,494
Mike Robeson [dijksterhuis] (dijksterhuis)

documentation

README

ot-tools-io-derive

License

This repository, the source code and the libraries generated by the source code are GNU GPL v3.0 licensed.

About

Procedural macro definitions for deriving traits from the ot-tools-io library crate. Mostly for avoiding annoying boilerplate 'empty' traits.

  • #[derive(WithStdError)] to add std::error::Error to an error type
  • #[derive(IsDefaultCheck)] for the standard implementation the ot_tools_io::IsDefault trait
  • #[derive(ArrayDefaults)] for an implementation of ot_tools_io::DefaultsArray trait for the [Self; N] return type
  • #[derive(BoxedBigArrayDefaults)] for the ot_tools_io::DefaultsArrayBoxed trait for the Box<serde_big_array::Array<Self, N>> return type
  • #[derive(IntegrityChecks)] for the ot_tools_io::CheckFileIntegrity trait

See the trait descriptions in ot-tools-io for more information.

Versioning

Follows ot-tools-io crate versioning, regardless of whether this has any changes or not.

Commit count: 98

cargo fmt