filmov
tv
Build with Naz : Create an async shell in Rust

Показать описание
This video shows how you can build an async REPL or shell in Rust, using the r3bl_terminal_async crate. This example simply creates a long running bash process and relays typed command to the child and displays the child's output to stdout (in an async manner).
Repo:
Join our discord server if you have questions:
Chapters:
00:00:00 Intro
00:02:30 Create a new crate
00:04:27 Demo of what we will build
00:07:16 Design and architect the program
00:09:19 Stub main fn
00:12:56 Create the child process
00:26:11 Create terminal async
00:32:09 Spawn task to monitor child output
00:43:38 Handle user input and relay to child input
00:56:38 Outro
Repo:
Join our discord server if you have questions:
Chapters:
00:00:00 Intro
00:02:30 Create a new crate
00:04:27 Demo of what we will build
00:07:16 Design and architect the program
00:09:19 Stub main fn
00:12:56 Create the child process
00:26:11 Create terminal async
00:32:09 Spawn task to monitor child output
00:43:38 Handle user input and relay to child input
00:56:38 Outro