Skip to content

Commit d22beb3

Browse files
authored
Merge branch 'master' into string
2 parents c5c12b1 + 9004e2e commit d22beb3

File tree

5 files changed

+19
-5
lines changed

5 files changed

+19
-5
lines changed

CHANGELOG.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## Unreleased
88

9-
- `canadensis_dsdl_parser`: Breaking change: Removed `saturated bool` type
9+
10+
### Added
1011
- `canadensis_dsdl_parser`: Added support for `byte` and `utf8` types (this is a breaking change for code that uses
1112
this library, but it does not break compatibility with any existing DSDL file)
1213
- `canadensis_dsdl_frontend`: Added support for `byte` and `utf8` types (this is a breaking change for code that uses
1314
this library, but it does not break compatibility with any existing DSDL file)
1415
- `canadensis_codegen_rust`: Added support for `byte` and `utf8` (code generation is the same as for uint8)
1516

17+
### Changed
18+
19+
- `canadensis_dsdl_parser`: Breaking change: Removed `saturated bool` type
20+
21+
### Fixed
22+
23+
- `canadensis_dsdl_frontend`: Fixed duplicate error text
24+
- `canadensis_codegen_rust`: Added default-features = false to half dependency in generated code to fix no_std
25+
compatibility
26+
- `canadensis_encoding`: Added default-features = false to half dependency to fix no_std compatibility
27+
- `canadensis_data_types`: Added default-features = false to half dependency to fix no_std compatibility
28+
29+
1630
## [canadensis_bxcan-v0.3.0](https://github.com/samcrow/canadensis/releases/tag/canadensis_bxcan-v0.3.0) - 2023-03-30
1731

1832
### Added

canadensis_codegen_rust/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ mod struct_as_enum;
3838
pub fn generated_code_dependencies() -> String {
3939
String::from(
4040
r#"[dependencies]
41-
half = { version = "2.2", features = ["zerocopy"] }
41+
half = { version = "2.2", default-features = false, features = ["zerocopy"] }
4242
heapless = "0.7.7"
4343
zerocopy = "0.6.0"
4444
canadensis_core = "0.3.0"

canadensis_data_types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ description = "Automatically generated types for all Cyphal public regulated dat
1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

1414
[dependencies]
15-
half = { version = "2.2", features = ["zerocopy"] }
15+
half = { version = "2.2", default-features = false, features = ["zerocopy"] }
1616
heapless = "0.7.7"
1717
zerocopy = "0.6.0"
1818

canadensis_dsdl_frontend/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ pub enum Error {
5454
#[source]
5555
inner: Box<Error>,
5656
},
57-
#[error("{0}")]
57+
#[error("Invalid DSDL")]
5858
Compile(
5959
#[from]
6060
#[source]

canadensis_encoding/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"
1010
description = "A Cyphal implementation: Transfer encoding and decoding"
1111

1212
[dependencies]
13-
half = "2.2"
13+
half = { version = "2.2", default-features = false }
1414
zerocopy = "0.6.0"
1515

1616
[dev-dependencies]

0 commit comments

Comments
 (0)