Enable use in no_std environments

This commit is contained in:
Nettika 2022-07-04 22:25:13 -07:00
parent 542652f305
commit e7f317cc52
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 = []