#macro-derive #traits #user-submittable

macro structscan_derive

Macro implementation of #[derive(UserSubmittable)]

1 unstable release

0.1.0 Aug 24, 2021

#874 in #macro-derive

24 downloads per month
Used in structscan

MPL-2.0 license

8KB
108 lines

Traits and derive macros to interactively create structs from terminal input.

Usage

See https://gitlab.com/liketechnik/scheduling-simulations for an example of using this library.

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/. Note that certain configuration and data files are licensed under CC0-1.0.

Dependencies

~1.5MB
~33K SLoC