Compare commits
2 Commits
249688dfc4
...
aa10f715ed
Author | SHA1 | Date | |
---|---|---|---|
|
aa10f715ed | ||
97f5c3a500 |
@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.0.4] - 2025-08-03
|
||||||
|
|
||||||
|
### Added
|
||||||
|
- sanitise output
|
||||||
|
- replace output spawn with native tokio method
|
||||||
|
|
||||||
|
### Other
|
||||||
|
- add print to output from paste
|
||||||
|
|
||||||
## [0.0.3] - 2025-08-03
|
## [0.0.3] - 2025-08-03
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@@ -3,7 +3,7 @@ members = ["crates/*"]
|
|||||||
resolver = "2"
|
resolver = "2"
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.0.3"
|
version = "0.0.4"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
voidpin = { path = "crates/voidpin" }
|
voidpin = { path = "crates/voidpin" }
|
||||||
|
@@ -59,12 +59,10 @@ impl RemoteCopier {
|
|||||||
let resp = client.paste(PasteRequest {}).await?;
|
let resp = client.paste(PasteRequest {}).await?;
|
||||||
|
|
||||||
let output = resp.into_inner().content;
|
let output = resp.into_inner().content;
|
||||||
tracing::info!(
|
let output = String::from_utf8_lossy(&output);
|
||||||
content = std::str::from_utf8(&output).unwrap_or_default(),
|
tracing::info!(content = output.to_string(), "received paste response");
|
||||||
"received paste response"
|
|
||||||
);
|
|
||||||
|
|
||||||
Ok(output)
|
Ok(output.as_bytes().to_vec())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user