1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14rust-version = "1.65" 15name = "toml" 16version = "0.8.19" 17authors = ["Alex Crichton <alex@alexcrichton.com>"] 18build = false 19include = [ 20 "build.rs", 21 "src/**/*", 22 "Cargo.toml", 23 "Cargo.lock", 24 "LICENSE*", 25 "README.md", 26 "benches/**/*", 27 "examples/**/*", 28 "tests/**/*", 29] 30autobins = false 31autoexamples = false 32autotests = false 33autobenches = false 34description = """ 35A native Rust encoder and decoder of TOML-formatted files and streams. Provides 36implementations of the standard Serialize/Deserialize traits for TOML data to 37facilitate deserializing and serializing Rust structures. 38""" 39homepage = "https://github.com/toml-rs/toml" 40readme = "README.md" 41keywords = [ 42 "encoding", 43 "toml", 44] 45categories = [ 46 "encoding", 47 "parser-implementations", 48 "parsing", 49 "config", 50] 51license = "MIT OR Apache-2.0" 52repository = "https://github.com/toml-rs/toml" 53 54[package.metadata.docs.rs] 55all-features = true 56rustdoc-args = [ 57 "--cfg", 58 "docsrs", 59] 60 61[[package.metadata.release.pre-release-replacements]] 62file = "CHANGELOG.md" 63min = 1 64replace = "{{version}}" 65search = "Unreleased" 66 67[[package.metadata.release.pre-release-replacements]] 68exactly = 1 69file = "CHANGELOG.md" 70replace = "...{{tag_name}}" 71search = '\.\.\.HEAD' 72 73[[package.metadata.release.pre-release-replacements]] 74file = "CHANGELOG.md" 75min = 1 76replace = "{{date}}" 77search = "ReleaseDate" 78 79[[package.metadata.release.pre-release-replacements]] 80exactly = 1 81file = "CHANGELOG.md" 82replace = """ 83<!-- next-header --> 84## [Unreleased] - ReleaseDate 85""" 86search = "<!-- next-header -->" 87 88[[package.metadata.release.pre-release-replacements]] 89exactly = 1 90file = "CHANGELOG.md" 91replace = """ 92<!-- next-url --> 93[Unreleased]: https://github.com/toml-rs/toml/compare/{{tag_name}}...HEAD""" 94search = "<!-- next-url -->" 95 96[lib] 97name = "toml" 98path = "src/lib.rs" 99 100[[example]] 101name = "decode" 102path = "examples/decode.rs" 103required-features = [ 104 "parse", 105 "display", 106] 107 108[[example]] 109name = "enum_external" 110path = "examples/enum_external.rs" 111required-features = [ 112 "parse", 113 "display", 114] 115 116[[example]] 117name = "toml2json" 118path = "examples/toml2json.rs" 119required-features = [ 120 "parse", 121 "display", 122] 123 124[[test]] 125name = "decoder" 126path = "tests/decoder.rs" 127 128[[test]] 129name = "decoder_compliance" 130path = "tests/decoder_compliance.rs" 131harness = false 132 133[[test]] 134name = "encoder" 135path = "tests/encoder.rs" 136 137[[test]] 138name = "encoder_compliance" 139path = "tests/encoder_compliance.rs" 140harness = false 141 142[[test]] 143name = "testsuite" 144path = "tests/testsuite/main.rs" 145 146[dependencies.indexmap] 147version = "2.0.0" 148optional = true 149 150[dependencies.serde] 151version = "1.0.145" 152 153[dependencies.serde_spanned] 154version = "0.6.7" 155features = ["serde"] 156 157[dependencies.toml_datetime] 158version = "0.6.8" 159features = ["serde"] 160 161[dependencies.toml_edit] 162version = "0.22.20" 163features = ["serde"] 164optional = true 165default-features = false 166 167[dev-dependencies.serde] 168version = "1.0.199" 169features = ["derive"] 170 171[dev-dependencies.serde_json] 172version = "1.0.116" 173 174[dev-dependencies.snapbox] 175version = "0.6.0" 176 177[dev-dependencies.toml-test-data] 178version = "1.11.0" 179 180[dev-dependencies.toml-test-harness] 181version = "0.4.8" 182 183[features] 184default = [ 185 "parse", 186 "display", 187] 188display = [ 189 "dep:toml_edit", 190 "toml_edit?/display", 191] 192parse = [ 193 "dep:toml_edit", 194 "toml_edit?/parse", 195] 196preserve_order = ["indexmap"] 197 198[lints.clippy] 199bool_assert_comparison = "allow" 200branches_sharing_code = "allow" 201checked_conversions = "warn" 202collapsible_else_if = "allow" 203create_dir = "warn" 204dbg_macro = "warn" 205debug_assert_with_mut_call = "warn" 206doc_markdown = "warn" 207empty_enum = "warn" 208enum_glob_use = "warn" 209expl_impl_clone_on_copy = "warn" 210explicit_deref_methods = "warn" 211explicit_into_iter_loop = "warn" 212fallible_impl_from = "warn" 213filter_map_next = "warn" 214flat_map_option = "warn" 215float_cmp_const = "warn" 216fn_params_excessive_bools = "warn" 217from_iter_instead_of_collect = "warn" 218if_same_then_else = "allow" 219implicit_clone = "warn" 220imprecise_flops = "warn" 221inconsistent_struct_constructor = "warn" 222inefficient_to_string = "warn" 223infinite_loop = "warn" 224invalid_upcast_comparisons = "warn" 225large_digit_groups = "warn" 226large_stack_arrays = "warn" 227large_types_passed_by_value = "warn" 228let_and_return = "allow" 229linkedlist = "warn" 230lossy_float_literal = "warn" 231macro_use_imports = "warn" 232mem_forget = "warn" 233mutex_integer = "warn" 234needless_continue = "warn" 235needless_for_each = "warn" 236negative_feature_names = "warn" 237path_buf_push_overwrite = "warn" 238ptr_as_ptr = "warn" 239rc_mutex = "warn" 240redundant_feature_names = "warn" 241ref_option_ref = "warn" 242rest_pat_in_fully_bound_structs = "warn" 243same_functions_in_if_condition = "warn" 244self_named_module_files = "warn" 245semicolon_if_nothing_returned = "warn" 246str_to_string = "warn" 247string_add = "warn" 248string_add_assign = "warn" 249string_lit_as_bytes = "warn" 250string_to_string = "warn" 251todo = "warn" 252trait_duplication_in_bounds = "warn" 253verbose_file_reads = "warn" 254wildcard_imports = "warn" 255zero_sized_map_values = "warn" 256 257[lints.rust] 258unreachable_pub = "warn" 259unsafe_op_in_unsafe_fn = "warn" 260unused_lifetimes = "warn" 261unused_macro_rules = "warn" 262unused_qualifications = "warn" 263 264[lints.rust.rust_2018_idioms] 265level = "warn" 266priority = -1 267