-
Cargo.toml [package]
name = "rust_testing"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
arrow2 = "0.14.1"
arrow2_convert = "0.3.0" src/main.rs use arrow2_convert::ArrowField;
#[derive(ArrowField)]
struct Sample {
a: u8,
}
fn main() {} On cargo build gives the following error:
What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Great question @scimas. Please try with arrow2 0.13:
I'll look into why it's not working for arrow2 0.14. |
Beta Was this translation helpful? Give feedback.
-
Opened #65 to track upgrading to arrow2 0.14. I have a fix and will release a new version shortly so the code you posted should work as-is @scimas. You'll just need to use |
Beta Was this translation helpful? Give feedback.
-
I apologize @scimas. I made a mistake when updating the version and there was a mismatch. Please try again with |
Beta Was this translation helpful? Give feedback.
-
Solved by publishing and upgrading to arrow2-convert 0.3.2 |
Beta Was this translation helpful? Give feedback.
Solved by publishing and upgrading to arrow2-convert 0.3.2