forked from Wandalen/wTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
88 lines (77 loc) · 2.39 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
[package]
name = "meta_tools"
version = "0.2.18"
edition = "2021"
authors = [
"Kostiantyn Wandalen <[email protected]>",
"Volodymyr M. <[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/rust/meta_tools"
homepage = "https://github.com/Wandalen/wTools/tree/master/module/rust/meta_tools"
description = """
Collection of general purpose meta tools.
"""
categories = [ "algorithms", "development-tools" ]
keywords = [ "fundamental", "general-purpose" ]
[package.metadata.docs.rs]
all-features = true
include = [
"/rust/impl/meta",
"/Cargo.toml",
"/Readme.md",
"/License",
]
[features]
default = [
"for_each",
"impls_index",
"mod_interface",
"former",
"options",
"collection_make",
"idents_concat",
"use_std",
]
full = [
"for_each",
"impls_index",
"mod_interface",
"former",
"options",
"collection_make",
"idents_concat",
"use_std",
]
use_std = []
use_alloc = []
collection_make = [ "literally" ]
options = [ "woptions" ]
idents_concat = [ "paste" ]
[lib]
name = "meta_tools"
path = "rust/impl/meta/meta_tools_lib.rs"
[[test]]
name = "meta_tools_test"
path = "rust/test/meta/meta_tools_tests.rs"
[[test]]
name = "meta_tools_smoke_test"
path = "rust/test/_integration_test/smoke_test.rs"
[[example]]
name = "meta_tools_trivial_sample"
path = "sample/rust/meta_tools_trivial_sample/src/main.rs"
# qqq : for Rust dev : add a sample with impls + index. discuss first
# - all samples should be in md files and have short descriptions
[dependencies]
for_each = { version = "~0.1", path = "../../rust/for_each", optional = true, default-features = false }
impls_index = { version = "~0.1", path = "../../rust/impls_index", optional = true, default-features = false }
mod_interface = { version = "~0.1", path = "../../rust/mod_interface", optional = true, default-features = false }
former = { version = "~0.1", path = "../../rust/former", optional = true, default-features = false }
woptions = { version = "~0.1", path = "../../rust/woptions", optional = true, default-features = false }
literally = { version = "~0.1", optional = true, default-features = false }
paste = { version = "~1.0", optional = true, default-features = false }
[dev-dependencies]
test_tools = { version = "~0.1", path = "../../rust/test_tools" }