-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathCargo.toml
69 lines (58 loc) · 2.27 KB
/
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "former"
version = "2.8.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <wandalen@obox.systems>",
"Dmytro Kryvoruchko <dmytro.kr@obox.systems>",
]
license = "MIT"
readme = "Readme.md"
documentation = "https://docs.rs/former"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/former"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/former"
description = """
A flexible implementation of the Builder pattern supporting nested builders and collection-specific subformers.
"""
categories = [ "algorithms", "development-tools" ]
keywords = [ "fundamental", "general-purpose", "builder-pattern" ]
[lints]
workspace = true
[package.metadata.docs.rs]
features = [ "full" ]
all-features = false
[features]
no_std = [ "former_types/no_std", "collection_tools/no_std" ]
use_alloc = [ "no_std", "former_types/use_alloc", "collection_tools/use_alloc" ]
# no_std = [ "collection_tools/no_std" ]
# use_alloc = [ "no_std", "collection_tools/use_alloc" ]
default = [
"enabled",
"derive_former",
"derive_components",
"derive_component_from",
"derive_component_assign",
"derive_components_assign",
"derive_from_components",
"types_former",
"types_component_assign",
]
full = [
"default",
]
enabled = [ "former_meta/enabled", "former_types/enabled" ]
derive_former = [ "former_meta/derive_former", "types_former" ]
derive_components = [ "former_meta/derive_components", "derive_component_assign", "derive_components_assign", "derive_component_from", "derive_from_components" ]
derive_component_assign = [ "former_meta/derive_component_assign", "types_component_assign" ]
derive_components_assign = [ "derive_component_assign", "former_meta/derive_components_assign" ]
derive_component_from = [ "former_meta/derive_component_from" ]
derive_from_components = [ "former_meta/derive_from_components" ]
types_former = [ "former_types/types_former" ]
types_component_assign = [ "former_types/types_component_assign" ]
[dependencies]
former_meta = { workspace = true }
former_types = { workspace = true }
# collection_tools = { workspace = true, features = [ "collection_constructors" ] }
[dev-dependencies]
test_tools = { workspace = true, features = [ "full" ] }
collection_tools = { workspace = true, features = [ "collection_constructors" ] }