Merge pull request 'v0.7.0 beta' (#21) from prep_v0.7.0-beta into main
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good

Reviewed-on: #21
This commit is contained in:
Robin Müller 2023-08-16 14:22:40 +02:00
commit 0f49672829
4 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
# [unreleased]
# [v0.7.0]
# [v0.7.0-beta.0] 2023-08-16
- Moved MSRV from v1.60 to v1.61.

View File

@ -1,6 +1,6 @@
[package]
name = "spacepackets"
version = "0.7.0"
version = "0.7.0-beta.0"
edition = "2021"
rust-version = "1.61"
authors = ["Robin Mueller <muellerr@irs.uni-stuttgart.de>"]

View File

@ -70,6 +70,7 @@ impl<'data> Lv<'data> {
/// Helper function to build a string LV. This is especially useful for the file or directory
/// path LVs
#[cfg(feature = "std")]
#[cfg_attr(doc_cfg, doc(cfg(feature = "std")))]
pub fn new_from_string(string: &'data String) -> Result<Lv<'data>, TlvLvError> {
Self::new(string.as_bytes())
}

View File

@ -805,8 +805,7 @@ impl<'raw_data> PusTmReader<'raw_data> {
self.sec_header.timestamp
}
/// If [Self] was constructed [Self::from_bytes], this function will return the slice it was
/// constructed from. Otherwise, [None] will be returned.
/// This function will return the slice [Self] was constructed from.
pub fn raw_data(&self) -> &[u8] {
self.raw_data
}