-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
39 lines (31 loc) · 983 Bytes
/
Cargo.toml
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
[package]
name = "contrafact"
version = "0.2.0-rc.1"
authors = ["Michael Dougherty <maackle.d@gmail.com>"]
repository = "https://github.com/maackle/contrafact-rs/"
license = "MIT"
description = "A trait for highly composable constraints (\"facts\") which can be used both to verify data and to generate arbitrary data within those constraints"
keywords = ["testing", "fixtures", "constraints", "composable"]
categories = ["development-tools::testing"]
edition = "2021"
[dependencies]
arbitrary = {version = "1.0", features = ["derive"]}
either = "1.5"
derive_more = "0.99"
itertools = "0.10"
num = "0.4.0"
tracing = "0.1"
# utils
once_cell = { version = "1.5", optional = true }
rand = { version = "0.7", optional = true }
# # lens
# lens-rs = { version = "0.3", optional = true }
[dev-dependencies]
either = "1.5"
observability = "0.1"
[features]
default = ["utils"]
utils = ["once_cell", "rand"]
# optics = ["lens-rs"]
[package.metadata.inwelling]
lens-rs_generator = true