-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
79 lines (64 loc) · 2.16 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
[package]
name = "martini"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
[features]
default = ["subsections"]
# Enables blank properties.
#
# With this feature, the parser can also parse 'blank' properties, i.e. properties which have no
# values. These are dropped otherwise.
# e.g.
# ```ini
# foo = bar
# eggs =
# basket = cream
# ```
blankprops = []
# Enables global properties.
#
# This means that the parser can parse properties that come before the very first section.
# e.g.
# ```ini
# foo = bar
#
# [firstSection]
# eggs = basket
# ```
# Normally, the parser wouldn't be able to parse 'foo', and it would be dropped altogether. With
# the `globalprops` feature, we can parse these as well. The properties that come before the very
# first section are parsed into a special section called `martini_global`. We can then access these
# using `ini.sections[0]` or some similar access method.
globalprops = []
# ===== DELIMITERS FOR PROPERTIES =====
#
# Note: Property delimiters are mutually exclusive. This means that once you
# enable a specific delimiter, you can't use any other.
#
# Default delimiter is equals sign ('=')
# Features:
# Allows properties to be delimited by colon (':')
colonprops = []
# Allows properties to be delimited by space ('<space>')
spaceprops = []
# ===== DELIMITERS FOR PROPERTIES =====
# ===== COMMENT TOKENS =====
# Allows comments to start with different character(s) than the default (';').
#
hash_for_comments = []
# ===== COMMENT TOKENS =====
# ===== SUBSECTIONS =====
subsections = []
# ===== SUBSECTIONS =====
# ===== DUPLICATE PROPERTIES =====
# Allows for duplicate properties within the same section, with different strategies for resolving
# the conflicts.
# Only parses the first entry and then ignores all the duplicates which come after it.
duplicate_handle_ignore = []
# Overwrites the property value with the latest one that is parsed.
duplicate_handle_overwrite = []
# Allows for duplicate properties. The properties are stacked into an array.
duplicate_handle_allow = []
# ===== DUPLICATE PROPERTIES =====