Skip to content

zotho/rust_udp_spreadsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust UDP spreadsheet

Usage

cargo run -- --help

Run tests:

cargo test -- --test-threads=1

Setup database URL:

cargo run -- --db mysql://zotho:zotho@localhost:3306/rust

Populate table with example data:

cargo run -- --populate

GUI Usage example

In first instance:

DB: mysql://zotho:zotho@localhost:3306/rust
Bind socket: 127.0.0.1:10001
Connect socket: 127.0.0.1:10000
[*] Send

In second instance:

Bind socket: 127.0.0.1:10000
Connect socket: 127.0.0.1:10001
[*] Recieve

Table

  • Start editing: double click or Enter
  • Save cell: Enter

Columns:

  • number (INTEGER)
  • text (TEXT)

Editable only in send mode