ソースを参照

Clean build for 100k

Slava Barinov 7 ヶ月 前
コミット
5a209ac9c1
2 ファイル変更1 行追加19 行削除
  1. 0 1
      Cargo.toml
  2. 1 18
      src/main.rs

+ 0 - 1
Cargo.toml

@@ -4,7 +4,6 @@ version = "0.1.0"
 edition = "2024"
 
 [dependencies]
-termio = "0.1"
 
 [profile.release]
 opt-level = "z"     # Optimize for size.

+ 1 - 18
src/main.rs

@@ -1,20 +1,3 @@
-use termio::{StyledText, Termio};
-
 fn main() {
-    let mut termio = Termio::new();
-
-    // Parse CSS-like syntax from a string
-    let css = r#"
-        @element "header" {
-            color: red;
-            background: black;
-            decoration: bold;
-            padding: 1;
-        }
-    "#;
-
-    termio.parse(css).unwrap();
-
-    // Style text using the parsed styles
-    println!("{}", "This is a header".style("header", &termio));
+    println!("Hello");
 }