dirk ~eventloop_file_events

Standard-compliant, high-performance IRC library


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:

Dirk dub Build Status

Dirk is an IRC client library for the D programming language.

It aims for a complete and correct implementation of the IRC client protocol (RFC 2812) and related protocols (CTCP and DCC) with a safe interface.

Dirk aims to be as efficient as possible (in terms of both CPU and memory) to cater to the requirements of any imaginable use of IRC.

For an IRC bot framework built on Dirk, see Diggler.

Dirk depends on libev for the event loop.

Please report bugs and requests to the [issue tracker](https://github.com/JakobOvrum/Dirk/issues). Thanks!

Directory Structure

  • irc - the Dirk source package.
  • visuald - VisualD project files.
  • test - unittest executable (when built).
  • lib - Dirk library files (when built).
  • extlib/ev.obj - libev object file in OMF format for convenience on Windows.
  • ssl - utility package for lazily loading OpenSSL at runtime for SSL/TLS connections.

Documentation

You can find automatically generated documentation on the gh-pages branch, or you can browse it online.

Usage

Once built, add the top directory (with the irc sub-directory) and the libev directory as include directories when compiling the user program, and link to lib/dirk (release build) or lib/dirk-d (debug build).

Example:

dmd main.d -IDirk -IDirk/libev -L-lev Dirk/lib/dirk.a

(Note: on Windows, the file extension for the static libraries may be .lib in many cases)

Building on Windows

The included VisualD project files (see the visuald sub-directory) can be used to build the library files on Windows.

Building in General

Use the included makefile.

License

Dirk is licensed under the terms of the MIT license (see the LICENSE file for details).

Authors:
  • Jakob Ovrum
Dependencies:
none
Versions:
0.2.0 2015-Oct-30
0.1.1 2015-Aug-27
0.1.0 2015-Apr-18
~master 2016-Oct-12
~tracker 2014-Oct-06
Show all 7 versions
Download Stats:
  • 0 downloads today

  • 0 downloads this week

  • 0 downloads this month

  • 640 downloads total

Score:
1.5
Short URL:
dirk.dub.pm