chore: update dependencies
This commit is contained in:
parent
26db340077
commit
240fbcb1df
|
@ -1 +1 @@
|
|||
Subproject commit dbc6b8e54ad753b0605feaeecc8e79dba3572ed3
|
||||
Subproject commit a1b01ffeab452790790034b8a0e97aa30bbeb800
|
|
@ -1 +1 @@
|
|||
Subproject commit 3cc4bb6dfba885de2c2d6f7c5ee6bc68a5be02bf
|
||||
Subproject commit 016b8bcf98e50ae9408f6a9606bbec5a9bc6f677
|
|
@ -58,7 +58,10 @@ pub fn load(allocator: Allocator, file_path: []const u8) !void {
|
|||
const contents = try config_file.readToEndAlloc(allocator, try config_file.getEndPos());
|
||||
defer allocator.free(contents);
|
||||
|
||||
const table = try toml.parseContents(allocator, contents, null);
|
||||
var parser = try toml.parseFile(allocator, file_path);
|
||||
defer parser.deinit();
|
||||
|
||||
const table = try parser.parse();
|
||||
defer table.deinit();
|
||||
|
||||
// TODO: Report unknown config options
|
||||
|
|
Loading…
Reference in New Issue