2 Commits

Author SHA1 Message Date
cuddle-please
aa10f715ed chore(release): 0.0.4
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2025-08-03 11:33:51 +00:00
97f5c3a500 feat: sanitise output
All checks were successful
continuous-integration/drone/push Build is passing
2025-08-03 13:33:31 +02:00
3 changed files with 13 additions and 6 deletions

View File

@@ -6,6 +6,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [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
### Added

View File

@@ -3,7 +3,7 @@ members = ["crates/*"]
resolver = "2"
[workspace.package]
version = "0.0.3"
version = "0.0.4"
[workspace.dependencies]
voidpin = { path = "crates/voidpin" }

View File

@@ -59,12 +59,10 @@ impl RemoteCopier {
let resp = client.paste(PasteRequest {}).await?;
let output = resp.into_inner().content;
tracing::info!(
content = std::str::from_utf8(&output).unwrap_or_default(),
"received paste response"
);
let output = String::from_utf8_lossy(&output);
tracing::info!(content = output.to_string(), "received paste response");
Ok(output)
Ok(output.as_bytes().to_vec())
}
}