Skip to content

Commit 2628172

Browse files
committed
formatting logic of Cargo.toml
1 parent ee2bed9 commit 2628172

File tree

4 files changed

+438
-0
lines changed

4 files changed

+438
-0
lines changed

Cargo.lock

Lines changed: 38 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ serde_json = "1.0"
5353
term = "0.7"
5454
thiserror = "1.0"
5555
toml = "0.5"
56+
toml_edit = "0.13"
5657
unicode-segmentation = "1.9"
5758
unicode-width = "0.1"
5859
unicode_categories = "0.1"

src/formatting.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ use crate::utils::{contains_skip, count_newlines};
1818
use crate::visitor::FmtVisitor;
1919
use crate::{modules, source_file, ErrorKind, FormatReport, Input, Session};
2020

21+
mod cargo_toml;
2122
mod generated;
2223
mod newline_style;
2324

0 commit comments

Comments
 (0)