primate 0.3.0

A small DSL for cross-language constants. Write once, generate typed Rust, TypeScript, and Python.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Shared ASCII logo for surfaces that benefit from primate's mark
//! (the watch TUI, `primate init`). One source of truth so changes
//! to the glyphs propagate everywhere.

/// 8-row braille rendering of the primate logo. 34 columns wide.
pub const HEADER: &[&str] = &[
    "⠀⠀⠀⠀⣠⣶⣿⣿⣷⣦⣀⣀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀",
    "⠀⠀⣴⣶⣿⠋⣉⠉⣁⠙⣿⣿⡇⠀⠀⠀⠀⠀⢀⣀⣀⣀⣀⡀⠀⠀⠀⢀⣀⣀⣀⠀⠀⠀",
    "⠀⠀⠻⢿⣿⣄⠉⢤⠉⢠⣿⣏⣁⣤⣴⣶⣾⣿⣿⣿⣿⠿⠛⠻⢷⣆⠀⠘⠛⠛⠿⣿⣦⠀",
    "⠀⠀⢀⣄⠻⣿⣄⠀⢀⣼⣿⣿⣿⣿⣿⠿⠟⠋⠉⣀⣴⣾⣿⣿⣦⠉⠀⠀⠀⠀⠀⠈⣿⣧",
    "⠀⢀⣾⣿⡇⠈⢿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣤⣤⣾⣿⣿⣿⠿⣿⣿⣧⠀⠀⠀⠀⠀⠀⣸⣿",
    "⢀⣾⣿⣿⣠⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣟⣁⣀⢻⣿⣿⡆⠀⠀⠀⠀⢠⣿⡏",
    "⣼⣿⣿⣿⣿⣿⡿⠟⠻⢿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⡆⢻⣿⣿⣌⠻⢿⣷⣶⣶⣄",
    "⠙⠿⠿⠛⠉⠁⠀⠀⠀⠀⠉⠙⠛⠛⠿⠿⠿⠿⠿⠿⠿⠿⠿⠿⠈⠻⠿⠿⠿⠈⠿⠿⠿⠋",
];