Skip to content

Commit 41e7441

Browse files
xxchanytmimi
authored andcommitted
formatting logic of Cargo.toml
1 parent a37d3ab commit 41e7441

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
@@ -21,6 +21,7 @@ use crate::utils::{contains_skip, count_newlines};
2121
use crate::visitor::FmtVisitor;
2222
use crate::{modules, source_file, ErrorKind, FormatReport, Input, Session};
2323

24+
mod cargo_toml;
2425
mod generated;
2526
mod newline_style;
2627

0 commit comments

Comments
 (0)