File tree Expand file tree Collapse file tree 5 files changed +19
-5
lines changed
canadensis_codegen_rust/src
canadensis_dsdl_frontend/src Expand file tree Collapse file tree 5 files changed +19
-5
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ mod struct_as_enum;
3838pub 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"] }
4242heapless = "0.7.7"
4343zerocopy = "0.6.0"
4444canadensis_core = "0.3.0"
Original file line number Diff line number Diff 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" ] }
1616heapless = " 0.7.7"
1717zerocopy = " 0.6.0"
1818
Original file line number Diff line number Diff 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]
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ license = "MIT OR Apache-2.0"
1010description = " A Cyphal implementation: Transfer encoding and decoding"
1111
1212[dependencies ]
13- half = " 2.2"
13+ half = { version = " 2.2" , default-features = false }
1414zerocopy = " 0.6.0"
1515
1616[dev-dependencies ]
You can’t perform that action at this time.
0 commit comments