-
Notifications
You must be signed in to change notification settings - Fork 34
Expand file tree
/
Copy pathrecipe.yaml
More file actions
54 lines (46 loc) · 1.47 KB
/
recipe.yaml
File metadata and controls
54 lines (46 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
package:
name: mojo-toml
version: 0.3.0
source:
git: https://github.com/DataBooth/mojo-toml.git
tag: v0.3.0
build:
number: 0
script:
- mkdir -p $PREFIX/lib/mojo/toml
- cp -r src/toml/* $PREFIX/lib/mojo/toml/
requirements:
build:
- mojo >=25.1
host:
- mojo >=25.1
run:
- mojo >=25.1
test:
commands:
- test -f $PREFIX/lib/mojo/toml/__init__.mojo
- test -f $PREFIX/lib/mojo/toml/lexer.mojo
- test -f $PREFIX/lib/mojo/toml/parser.mojo
about:
homepage: https://github.com/DataBooth/mojo-toml
license: MIT
license_file: LICENSE
summary: A native TOML 1.0 parser for Mojo 🔥
description: |
mojo-toml is the first native TOML 1.0 parser for Mojo, enabling fast and
efficient parsing of TOML configuration files with zero Python dependencies.
Features:
- Complete TOML 1.0 syntax support (strings, numbers, arrays, tables)
- Nested table structures with proper Dict navigation
- Dotted keys for creating nested structures
- Duplicate key detection
- Clear error messages with line/column context
- 96 comprehensive tests ensuring reliability
- Performance: 26μs for simple parses, 2ms for real-world files
Perfect for configuration files, build systems, and any Mojo application
needing structured configuration.
doc_url: https://github.com/DataBooth/mojo-toml/blob/main/README.md
dev_url: https://github.com/DataBooth/mojo-toml
extra:
recipe-maintainers:
- mjboothaus