Return error instead of panic on failed parse

This commit is contained in:
2021-05-20 16:24:11 +02:00
parent 2d0875188e
commit 0af5d72005
6 changed files with 54 additions and 20 deletions

View File

@ -1,6 +1,6 @@
[package]
name = "blueprint"
version = "0.2.0"
version = "0.3.0"
authors = ["Joakim Hulthe <joakim@hulthe.net>"]
description = "A simple templating library"
edition = "2018"
@ -9,3 +9,4 @@ edition = "2018"
[dependencies]
nom = "6.1.2"
structopt = "0.3.21"
thiserror = "1.0.24"