#plugin #macro #dynamic #hash-map #nightly #fx #swisstable

plugin_macros

Macros for doing Rust dynamic library plugins easier

1 unstable release

Uses old Rust 2015

0.1.0 Jan 6, 2019

#6 in #fx

MIT license

6KB
99 lines

plugin_macros

Macros to make plugins easier to make in Rust.

Usage

First of all, this needs to be in your Cargo.toml:

plugin_macros = "~0.1"

The following features exist:

  • fx for FxHashMap with fxhash
  • nightly for 2018 edition and nightly
  • swisstable for a SwissTable hash map implementation with hashbrown

By default the crate uses swisstable.

Dependencies

~0.2–0.8MB
~12K SLoC