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
[]
= "bon-macros"
= "3.1.1"
= """
This is a proc-macro crate that is supposed to be a private implementation
detail of the `bon` crate
"""
= "2021"
= "https://bon-rs.com/"
= "MIT OR Apache-2.0"
= "https://github.com/elastio/bon"
# This MSRV was chosen because Rust supports mixing generic type and const
# parameters only starting with this version. We require this feature for the
# cases when the builder is generated for a function or struct that uses const
# generics. The generated builder **always** appends a generic type parameter
# for the type state at the end of the Builder generics list. So for functions
# or structs that use const generics the generated builder will have a generic
# type parameter after the const generic parameter, which is only supported
# starting from Rust 1.59.0.
= "1.59.0"
[]
= true
# Generate clickable links in the source code view in the docs
= ["--generate-link-to-definition"]
# We don't need the docs to be built for every first-tier target.
# This crate is not platform-specific.
= ["x86_64-unknown-linux-gnu"]
[]
= true
[]
= true
[]
# Patch version 0.20.7 of darling added `flatten` feature. We use it, so we
# need to specify an explicit patch version requirement
= "0.20.10"
# This dependency is used by `darling` itself, so we use it as well for case
# conversions to share the same dependency.
= "1"
# This version still supports our MSRV and it is where this bug was fixed:
# https://github.com/dtolnay/proc-macro2/issues/470
= "1.0.88"
= "1"
# This is the highest version that supports our MSRV
= { = "2.0.56", = ["full", "visit-mut", "visit"] }
= "0.2"
= "1.0"
[]
= []
# See the docs on this feature in the `bon`'s crate `Cargo.toml`
= []
# See the docs on this feature in the `bon`'s crate `Cargo.toml`
= []
[]
= "1.4.1"