serde_arrow 0.14.0

Convert sequences of Rust objects to Arrow arrays and back again
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::internal::error::{Error, ErrorKind};

#[test]
#[allow(clippy::bool_assert_comparison)]
fn backtrace_on_debug() {
    let err = Error::new(ErrorKind::Custom, String::from("foo bar"));

    // NOTE: the exact message depends on the ability of Rust to capture a backtrace
    assert!(!format!("{}", err).contains("Backtrace"));
    assert!(format!("{:?}", err).contains("Backtrace"));
}