16 Commits

Author SHA1 Message Date
9b091e3a3a Merge branch 'improve_cds_short_impl' into all_features
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
2022-12-21 10:15:26 +01:00
b07cec28ea update changelog
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
Rust/spacepackets/pipeline/pr-main This commit looks good
2022-12-21 10:14:58 +01:00
51963d0f72 remove default impl for cds TimeProvider 2022-12-21 10:14:13 +01:00
2b0828ffb5 Merge branch 'add_cuc_time_impl' into all_features
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
2022-12-21 10:04:42 +01:00
0968d60c05 Merge branch 'add_cuc_time_impl' into all_features 2022-12-21 09:37:54 +01:00
db471e313c Merge branch 'improve_cds_short_impl' into all_features
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
2022-12-20 16:29:21 +01:00
6154ce6299 Merge branch 'add_cuc_time_impl' into all_features 2022-12-20 16:28:31 +01:00
884de647ad add PR link
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
Rust/spacepackets/pipeline/pr-main This commit looks good
2022-12-20 16:27:23 +01:00
0d8074c6b9 clippy fixes
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
Rust/spacepackets/pipeline/pr-main This commit looks good
2022-12-20 16:26:04 +01:00
6798e3a6f5 Merge remote-tracking branch 'origin/main' into improve_cds_short_impl
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
Rust/spacepackets/pipeline/pr-main This commit looks good
2022-12-20 16:23:24 +01:00
2756670efe cargo fmt
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
2022-12-19 17:01:56 +01:00
eb5ace0658 Merge branch 'main' into all_features
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
2022-12-19 16:36:33 +01:00
b9cd08cefe Merge branch 'main' into all_features
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
2022-12-19 11:03:46 +01:00
0073db95f9 Merge branch 'add_cuc_time_impl' into all_features
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
2022-12-19 00:01:28 +01:00
251fcdd6c8 Merge branch 'add_cuc_time_impl' into all_features
All checks were successful
Rust/spacepackets/pipeline/head This commit looks good
2022-12-18 16:23:25 +01:00
5a878ef6a3 Merge remote-tracking branch 'origin/main' into improve_cds_short_impl
Some checks failed
Rust/spacepackets/pipeline/head This commit looks good
Rust/spacepackets/pipeline/pr-main There was a failure building this commit
2022-12-12 11:56:08 +01:00
2 changed files with 6 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
# [unreleased]
## Fixed
- Remove `Default` derive on CDS time provider. This can lead to uninitialized preamble fields.
## Changed
- `serde` support is now optional and behind the `serde` feature.
@@ -19,6 +23,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
The function now returns the remaining slice as well.
- All CDS specific functionality was moved into the `cds` submodule of the `time`
module. `CdsShortTimeProvider` was renamed to `TimeProvider`.
PR: https://egit.irs.uni-stuttgart.de/rust/spacepackets/pulls/3
## Added

View File

@@ -124,7 +124,7 @@ pub fn precision_from_pfield(pfield: u8) -> SubmillisPrecision {
/// assert_eq!(stamp_deserialized.len_as_bytes(), 7);
/// }
/// ```
#[derive(Debug, Copy, Clone, Default, PartialEq, Eq)]
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
pub struct TimeProvider<DaysLen: ProvidesDaysLength = DaysLen16Bits> {
pfield: u8,