summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/clipboard.rs3
-rw-r--r--src/lib.rs1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/clipboard.rs b/src/clipboard.rs
new file mode 100644
index 00000000..dde17051
--- /dev/null
+++ b/src/clipboard.rs
@@ -0,0 +1,3 @@
+//! Access the clipboard.
+#[cfg(not(target_arch = "wasm32"))]
+pub use crate::runtime::clipboard::{read, write};
diff --git a/src/lib.rs b/src/lib.rs
index 8bf4d0e0..e4f00c07 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -183,6 +183,7 @@ mod error;
mod result;
mod sandbox;
+pub mod clipboard;
pub mod executor;
pub mod keyboard;
pub mod mouse;