//! Cross-platform clipboard abstraction.

#[cfg(target_os = "macos")]
use crate::macos as platform;
#[cfg(target_os = "windows")]
use crate::win as platform;
#[cfg(target_os = "linux")]
use crate::x11 as platform;

/// Copy the given string to the system clipboard.
pub fn copy_to_clipboard(data: &str) {
    platform::copy_to_clipboard(data)
}
