Crates.io | autoclip-core |
lib.rs | autoclip-core |
version | 0.1.0 |
source | src |
created_at | 2021-01-06 13:55:24.576412 |
updated_at | 2021-01-06 13:55:24.576412 |
description | The core crate to develop plugins for autoclip. |
homepage | https://github.com/siketyan/autoclip |
repository | https://github.com/siketyan/autoclip.git |
max_upload_size | |
id | 333103 |
size | 3,615 |
Do something on your clipboard, automatically.
$ cargo build --release
If the plugin is published to autoclip-plugins repository, you can install it automatically:
$ ./autoclip-app install [name]
C:\Users\[Your Name]\AppData\Local
/Users/[Your Name]/Library/Application Support
/home/[your_name]/.local/share
autoclip
directory, then plugins
.
.dll
, .dylib
or .so
files of plugins into the plugins
directory.$ cargo new --lib plugin-name-of-your-plugin
cdylib
.
[lib]
crate-type = ["cdylib"]
autoclip-core
as a dependency.
[dependencies]
autoclip-core = "0.1.0"
AutoclipPlugin
trait as you like.autoclip_core::export_plugin!("name-of-your-plugin", AutoclipPluginImpl);
.dll
, .dylib
and .so
files!