forked from Wandalen/wTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
70 lines (60 loc) · 1.65 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
70
[package]
name = "meta_tools"
version = "0.5.0"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
"Dmytro Kryvoruchko <[email protected]>",
]
license = "MIT"
readme = "Readme.md"
documentation = "https://docs.rs/meta_tools"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/meta_tools"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/meta_tools"
description = """
Collection of general purpose meta tools.
"""
categories = [ "algorithms", "development-tools" ]
keywords = [ "fundamental", "general-purpose" ]
[lints]
workspace = true
[package.metadata.docs.rs]
features = [ "full" ]
all-features = false
exclude = [ "/tests", "/examples", "-*" ]
[features]
default = [
"enabled",
"meta_for_each",
"meta_impls_index",
# "meta_mod_interface",
"meta_constructors",
"meta_idents_concat",
]
full = [
"enabled",
"meta_for_each",
"meta_impls_index",
# "meta_mod_interface",
"meta_constructors",
"meta_idents_concat",
]
no_std = []
use_alloc = []
enabled = []
meta_for_each = [ "for_each/enabled" ]
meta_impls_index = [ "impls_index/enabled" ]
meta_mod_interface = [ "mod_interface/enabled" ]
# xxx : qqq : make mod_interface optional maybe
meta_constructors = [ "literally" ]
meta_idents_concat = [ "paste" ]
[dependencies]
## external
literally = { version = "~0.1.3", optional = true, default-features = false }
paste = { version = "~1.0.14", optional = true, default-features = false }
## internal
impls_index = { workspace = true }
for_each = { workspace = true }
mod_interface = { workspace = true, features = [ "default" ] }
[dev-dependencies]
test_tools = { workspace = true }