Skip to content

Commit 579d448

Browse files
committed
avoid using removed api apring_config_toml
1 parent 584bf26 commit 579d448

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub unsafe extern "C" fn spring_config_toml(
6060
let s = CStr::from_ptr(overwrite_config_toml);
6161
let s = s.to_str().expect("failed to parse TOML string into UTF-8");
6262

63-
let config = springql_core::api::spring_config_toml(s).expect("failed to parse TOML config");
63+
let config = springql_core::api::SpringConfig::new(s).expect("failed to parse TOML config");
6464
SpringConfig::new(config).into_ptr()
6565
}
6666

0 commit comments

Comments
 (0)