-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
40 lines (34 loc) · 964 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
40
[package]
description = "Merge structs into single by values"
documentation = "https://docs.rs/merge2/"
exclude = [".github/*", "tests/*"]
keywords = ["struct", "merge", "combine", "macros", "derive"]
name = "merge2"
readme = "README.md"
version = "0.3.0"
authors.workspace = true
categories.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
[workspace.package]
authors = ["Dmitry Rodionov <gh@rdmtr.com>"]
categories = ["rust-patterns"]
edition = "2021"
license = "MIT OR Apache-2.0"
repository = "https://github.com/RoDmitry/merge2"
[lib]
name = "merge2"
path = "src/lib.rs"
[dependencies]
merge2_derive = { path = "merge2_derive", version = "0.2", optional = true }
num-traits = { version = "0.2.12", optional = true }
[dev-dependencies]
trybuild = "1.0"
[features]
default = ["derive", "std"]
derive = ["merge2_derive"]
num = ["num-traits"]
std = []
[workspace]
members = ["merge2_derive", "merge2_examples"]