[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1123916: ITP: rust-derive-deref -- Macros to derive Deref/DerefMut for single-field structs



Package: wnpp
Severity: wishlist
Owner: Christopher Obbard <obbardc@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, debian-rust@lists.debian.org, obbardc@debian.org

* Package name    : rust-derive-deref
  Version         : 1.1.1
  Upstream Contact: Sean Griffin <sean@seantheprogrammer.com>
* URL             : https://github.com/sgrif/derive_deref
* License         : Expat OR Apache-2.0
  Programming Lang: Rust
  Description     : Macros to derive Deref/DerefMut for single-field structs

This crate adds a simple #[derive(Deref)] and #[derive(DerefMut)].
It can be used on any struct with exactly one field. If the type
of that field is a reference, the reference will be returned directly.

This is a library crate which is a dependency for dtui #1123855.

I intend to package rust-derive-deref. This package will be
maintained within the debian rust team.


Reply to: