feat: base colorizer project
This commit is contained in:
20
colorizer/src/main.rs
Normal file
20
colorizer/src/main.rs
Normal file
@@ -0,0 +1,20 @@
|
||||
use clipboard::ClipboardContext;
|
||||
use clipboard::ClipboardProvider;
|
||||
|
||||
pub mod core;
|
||||
mod transmuter;
|
||||
|
||||
#[cfg(test)]
|
||||
#[path = "./test/transmuter.test.rs"]
|
||||
mod test;
|
||||
|
||||
fn example() {
|
||||
let mut ctx: ClipboardContext = ClipboardProvider::new().unwrap();
|
||||
println!("{:?}", ctx.get_contents());
|
||||
ctx.set_contents("some string".to_owned()).unwrap();
|
||||
}
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
example();
|
||||
}
|
||||
Reference in New Issue
Block a user