update to servicepoint v0.14.1

This commit is contained in:
Vinzenz Schroeter 2025-05-01 20:42:15 +02:00
parent a903cbed85
commit 044583141c
12 changed files with 179 additions and 125 deletions

View file

@ -1,7 +1,7 @@
use servicepoint::Connection;
use crate::cli::TextCommand;
use crate::stream_stdin::stream_stdin;
use crate::{cli::TextCommand, stream_stdin::stream_stdin, transport::Transport};
pub fn text(connection: &Connection, command: TextCommand) {
match command { TextCommand::Stdin { slow } => stream_stdin(connection, slow), }
pub fn text(connection: &Transport, command: TextCommand) {
match command {
TextCommand::Stdin { slow } => stream_stdin(connection, slow),
}
}