diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2022-09-13 16:32:43 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2022-09-13 16:32:43 +0200 |
| commit | 1ce581a931352192c1360e1496d7a1ae56380e9d (patch) | |
| tree | 662288c1f2609eac662ffbd02ba5eef4816f6587 /Cargo.lock | |
| parent | c09e58e0e5435096d524eb6aede4b722a1dbbe57 (diff) | |
| download | gof-rs-1ce581a931352192c1360e1496d7a1ae56380e9d.tar.xz gof-rs-1ce581a931352192c1360e1496d7a1ae56380e9d.zip | |
Added ui.rs which is responsible for the tui and changed the code to run the game of life in a block of the tui
Diffstat (limited to 'Cargo.lock')
| -rw-r--r-- | Cargo.lock | 32 |
1 files changed, 32 insertions, 0 deletions
@@ -26,6 +26,12 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] +name = "cassowary" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53" + +[[package]] name = "cfg-if" version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -85,6 +91,7 @@ dependencies = [ "colored", "crossterm", "rand", + "tui", ] [[package]] @@ -250,6 +257,31 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2fd0db749597d91ff862fd1d55ea87f7855a744a8425a64695b6fca237d1dad1" [[package]] +name = "tui" +version = "0.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ccdd26cbd674007e649a272da4475fb666d3aa0ad0531da7136db6fab0e5bad1" +dependencies = [ + "bitflags", + "cassowary", + "crossterm", + "unicode-segmentation", + "unicode-width", +] + +[[package]] +name = "unicode-segmentation" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7e8820f5d777f6224dc4be3632222971ac30164d4a258d595640799554ebfd99" + +[[package]] +name = "unicode-width" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" + +[[package]] name = "wasi" version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" |
