macro_rules! import_transform {
    ($ty:ty) => { ... };
}
Expand description

Imports a custom transform into the shotover binary.

When a custom transform is defined in its own crate, typetag wont kick in unless there is some kind of use crate_name::CustomTransformConfig. This macro does that for you while making it clear that the use is a little bit magic. It also performs some type checks to ensure that you are actually importing an implementer of transforms::TransformConfig.