Skip to content

Instantly share code, notes, and snippets.

View abrodersen's full-sized avatar

Aaron Brodersen abrodersen

View GitHub Profile

Keybase proof

I hereby claim:

  • I am abrodersen on github.
  • I am abrodersen (https://keybase.io/abrodersen) on keybase.
  • I have a public key ASBRzQEzcMUMkEt1h42NN5O0JM0zAe62EiUnCSBgWbzn4Qo

To claim this, I am signing this object:

@abrodersen
abrodersen / main.rs
Last active October 17, 2017 19:43
Rust Plugin Example
// I want to create a simple plugin framework for a library I'm writing
// One of the plugins I want to write makes use of a dependency that is very
// restrictive: it enforces the use of references rather than owned values.
trait Modify {
fn add_one(&mut self);
}
trait Plugin<'a, T>
where T: Modify
@abrodersen
abrodersen / schema.json
Created January 12, 2018 14:06
Reconfix schema
{
config_txt: {
type: 'json',
location: {
partition: adaptPartition(config.partition),
path: adaptPath(config.path)
},
properties: [
{
definition: {