terrazzo-terminal 0.2.8

A simple web-based terminal emulator built on Terrazzo.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#![cfg_attr(not(feature = "bazel"), allow(unused_crate_dependencies))]

use tracing::Level;

fn main() {
    #[cfg(target_arch = "wasm32")]
    compile_error!();

    terrazzo_terminal::run_server().unwrap_or_else(|error| {
        if tracing::enabled!(Level::ERROR) {
            tracing::error!("{error}")
        } else {
            eprintln!("{error}")
        }
    })
}