update to servicepoint v0.14.1
This commit is contained in:
parent
a903cbed85
commit
044583141c
12 changed files with 179 additions and 125 deletions
10
src/text.rs
10
src/text.rs
|
@ -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),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue