Bring the whole workspace into compliance with the repo's rustfmt config (edition 2024, max_width 100, use_small_heuristics = "Max"), which had drifted across many crates. Pure formatting — no logic changes; `cargo fmt --check` is now clean and `cargo build --workspace` is green.
13 lines
367 B
Rust
13 lines
367 B
Rust
#[path = "../src/config.rs"]
|
|
mod config;
|
|
#[path = "../src/error.rs"]
|
|
mod error;
|
|
|
|
use config::PythonConfig;
|
|
use error::message as error_message;
|
|
fn main() {
|
|
let config = PythonConfig::default();
|
|
println!("Python boundary rejects unknown data: {}", config.reject_unknown_keyword_data);
|
|
println!("error translation: {}", error_message("invalid dataset"));
|
|
}
|