Use `plugin = true` instead of `crate_type = [ "dylib" ]` for plugins.