chore: bumped packages and renamed to sipp
751ff7f3
2 file(s) · +10 −10
| 1 | 1 | [package] |
|
| 2 | - | name = "sipp-rust" |
|
| 2 | + | name = "sipp" |
|
| 3 | 3 | version = "0.1.0" |
|
| 4 | 4 | edition = "2024" |
|
| 5 | 5 | ||
| 17 | 17 | tower-http = { version = "0.6.8", features = ["fs"] } |
|
| 18 | 18 | rand = "0.10" |
|
| 19 | 19 | ratatui = "0.30" |
|
| 20 | - | crossterm = "0.28" |
|
| 20 | + | crossterm = "0.29" |
|
| 21 | 21 | arboard = "3" |
|
| 22 | 22 | syntect = "5" |
|
| 23 | - | reqwest = { version = "0.12", features = ["json", "blocking"] } |
|
| 23 | + | reqwest = { version = "0.13", features = ["json", "blocking"] } |
|
| 24 | 24 | serde_json = "1" |
|
| 25 | 25 | clap = { version = "4", features = ["derive", "env"] } |
|
| 26 | - | toml = "0.8" |
|
| 27 | - | rpassword = "5" |
|
| 26 | + | toml = "1.0" |
|
| 27 | + | rpassword = "7" |
|
| 28 | 28 | open = "5.3.3" |
|
| 29 | 29 | rust-embed = "8" |
|
| 30 | 30 | dotenvy = "0.15" |
|
| 52 | 52 | match cli.command { |
|
| 53 | 53 | Some(Commands::Server { port, host }) => { |
|
| 54 | 54 | let rt = tokio::runtime::Runtime::new()?; |
|
| 55 | - | rt.block_on(sipp_rust::server::run(host, port)); |
|
| 55 | + | rt.block_on(sipp::server::run(host, port)); |
|
| 56 | 56 | } |
|
| 57 | 57 | Some(Commands::Tui { remote, api_key }) => { |
|
| 58 | - | sipp_rust::tui::run_interactive(remote, api_key)?; |
|
| 58 | + | sipp::tui::run_interactive(remote, api_key)?; |
|
| 59 | 59 | } |
|
| 60 | 60 | Some(Commands::Auth) => { |
|
| 61 | - | sipp_rust::tui::run_auth()?; |
|
| 61 | + | sipp::tui::run_auth()?; |
|
| 62 | 62 | } |
|
| 63 | 63 | None => { |
|
| 64 | 64 | if let Some(file) = cli.file { |
|
| 65 | - | sipp_rust::tui::run_file_upload(cli.remote, cli.api_key, file)?; |
|
| 65 | + | sipp::tui::run_file_upload(cli.remote, cli.api_key, file)?; |
|
| 66 | 66 | } else { |
|
| 67 | - | sipp_rust::tui::run_interactive(cli.remote, cli.api_key)?; |
|
| 67 | + | sipp::tui::run_interactive(cli.remote, cli.api_key)?; |
|
| 68 | 68 | } |
|
| 69 | 69 | } |
|
| 70 | 70 | } |