Skip to content

Commit

Permalink
Switch to serde_json5
Browse files Browse the repository at this point in the history
  • Loading branch information
JopStro committed May 5, 2024
1 parent 16b3953 commit 1a93e98
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ crate-type = ["cdylib"]

[dependencies]
serde_json = "=1.0.116"
json5 = "0.4.1"
serde_json5 = "0.1.0"
mlua = { version = "0.9.7", features = ["luajit", "module", "serialize"] }
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use json5 as j5;
use mlua::prelude::*;
use serde_json::Value;
use serde_json5 as j5;

fn decode<'lua>(lua: &'lua Lua, s: LuaValue<'lua>) -> LuaResult<LuaValue<'lua>> {
let s = match s {
Expand Down

0 comments on commit 1a93e98

Please sign in to comment.