lu 0.2.1

Library of reusable miscellanea


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

lu CircleCI Linux/OSX Travis Linux/OSX and documentation Windows GitHub commits since last release

Miscellaneous general-purpose library modules. Nothing extraordinary.

Used in the kameloso bot and in the dialect IRC parsing library.

What it is

API documentation can be found here.

In summary:

  • conv.d: Conversion functions and templates.
  • meld.d: Melding, or taking two structs/classes of the same type and merging the two into a union of their members.
  • string.d: String manipulation functions and templates; notably nom which advances a string passed a supplied substring.
  • traits.d: Miscellaneous traits and cleverness.
  • uda.d: Some user-defined attributes used here and there.
  • common.d: Things that don't have a better home yet.
  • json.d: Convenience wrappers around a JSONValue, which can be unwieldy.
  • net.d: Connection helpers, including Fibers that resolve addresses, connect to servers and read full strings from connections.
  • objmanip.d: Struct/class manipulation, such as setting a member field by its string name.
  • serialisation.d: Functions and templates for serialising structs into an .ini file-like format.
  • deltastrings.d: Expressing the differences (or delta) between two instances of a struct, as either assignment statements or assert statements.

Roadmap

  • nothing right now, ideas needed

Built with

License

This project is licensed under the MIT license - see the LICENSE file for details.

Authors:
  • JR
Sub packages:
lu:core, lu:conv, lu:meld, lu:string, lu:traits, lu:uda, lu:common, lu:json, lu:net, lu:objmanip, lu:serialisation, lu:deltastrings
Dependencies:
none
Versions:
3.0.1 2024-Aug-10
3.0.0 2024-Aug-10
2.2.0 2024-Jan-27
2.1.0 2024-Jan-04
2.0.0 2023-Aug-17
Show all 41 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 1 downloads this month

  • 28809 downloads total

Score:
1.1
Short URL:
lu.dub.pm