mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 13:00:37 +00:00
8 lines
256 B
Lua
8 lines
256 B
Lua
local serde = require("@lune/serde") :: any
|
|
local source = require("./source")
|
|
|
|
local toml = serde.decode("toml", source.encoded)
|
|
|
|
assert(toml.package.name == "my-cool-toml-package")
|
|
assert(toml.package.version == "0.1.0")
|
|
assert(toml.values.epic == true)
|