Enable use in no_std environments

This commit is contained in:
Benjamin Herman 2022-07-04 22:25:13 -07:00
parent 33ca42a731
commit 283bce1f16
No known key found for this signature in database
GPG key ID: A2D1938EC56DBF49
2 changed files with 12 additions and 3 deletions

View file

@ -7,3 +7,8 @@ description = "Validation of arbitrary types"
repository = "https://github.com/metanomial/vet"
license = "MIT OR Apache-2.0"
keywords = ["validation"]
[features]
default = ["std"]
std = ["alloc"]
alloc = []