aura-gui 0.2.2

UI nativa acelerada por GPU para escritorio, Android e iOS, en un solo crate: estilo tipo Tailwind, componentes, sombras, animaciones y agentes de IA. Reposo a cero. Licencia AGPL-3.0 o comercial.
//! iOS y Android: sin navegador, papelera ni almacén de secretos accesibles desde aquí; la app los resuelve.

use std::path::Path;
use std::process::Command;

const UNSUPPORTED: &str = "no disponible en móvil";

pub fn open_url(_url: &str, _background: bool) -> Result<(), String> {
    Err(UNSUPPORTED.into())
}

pub fn reveal(_path: &Path) -> Result<(), String> {
    Err(UNSUPPORTED.into())
}

pub fn trash(_path: &Path) -> Result<(), String> {
    Err(UNSUPPORTED.into())
}

pub fn low_priority_command(program: &str) -> Command {
    Command::new(program)
}

pub fn secret_set(_service: &str, _account: &str, _value: &str) -> Result<(), String> {
    Err(UNSUPPORTED.into())
}

pub fn secret_get(_service: &str, _account: &str) -> Option<String> {
    None
}

pub fn secret_remove(_service: &str, _account: &str) -> Result<(), String> {
    Ok(())
}