Skip to content

Commit

Permalink
Update README and rockspec (#4)
Browse files Browse the repository at this point in the history
* Update README.md

* Update tinytoml-0.0.1-1.rockspec
  • Loading branch information
FourierTransformer authored Nov 1, 2024
1 parent bc641b5 commit 76fa256
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ Current Supported TOML Version: 1.0.0
- Cannot encode a table to TOML

## Installing
You can grab the `tinytoml.lua` file from this repo (or the `tinytoml.tl` file if using Teal)
You can grab the `tinytoml.lua` file from this repo (or the `tinytoml.tl` file if using Teal) or install it via LuaRocks

```
luarocks install tinytoml
```

## Parsing TOML

Expand Down
6 changes: 2 additions & 4 deletions tinytoml-0.0.1-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ source = {
description = {
summary = "A pure Lua TOML parser",
detailed = [[
tinytoml is an easy to use TOML parser library for Lua. It can read in TOML files or load from a string.
It supports all TOML 1.0.0 features including validating UTF-8 and datetimes with good error messages.
tinytoml is an easy to use TOML parser library for Lua. It can read in TOML files or load them from a string.
It supports all TOML 1.0.0 features including parsing strings, numbers, datetimes, arrays, inline-tables and even validating UTF-8 with good error messages if anything fails!
]],
homepage = "https://github.com/FourierTransformer/tinytoml",
maintainer = "Fourier Transformer <[email protected]>",
Expand All @@ -27,5 +27,3 @@ build = {
["tinytoml"] = "tinytoml.lua"
},
}


0 comments on commit 76fa256

Please sign in to comment.