File tree Expand file tree Collapse file tree 4 files changed +7
-3
lines changed
canadensis_codegen_rust/src Expand file tree Collapse file tree 4 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99### Fixed
1010
1111- ` canadensis_dsdl_frontend ` : Fixed duplicate error text
12+ - ` canadensis_codegen_rust ` : Added default-features = false to half dependency in generated code to fix no_std
13+ compatibility
14+ - ` canadensis_encoding ` : Added default-features = false to half dependency to fix no_std compatibility
15+ - ` canadensis_data_types ` : Added default-features = false to half dependency to fix no_std compatibility
1216
1317## [ canadensis_bxcan-v0.3.0] ( https://github.com/samcrow/canadensis/releases/tag/canadensis_bxcan-v0.3.0 ) - 2023-03-30
1418
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 @@ -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