Skip to content

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented May 29, 2023

内容

rust-lang/rustfmt#5240の最新のコミットであるrust-lang/rustfmt@093e19fでCargo.tomlをフォーマットします。

関連 Issue

Resolves #469.

その他

@qryxip
Copy link
Member Author

qryxip commented May 29, 2023

そのままフォーマットするとこのようなコメントが消滅したり、

voicevox_core/Cargo.toml

Lines 22 to 23 in 768042e

# FIXME: iOS対応のpull request(https://github.com/wesleywiser/process_path/pull/16)がマージされる見込みが無いため
process_path = { git = "https://github.com/VOICEVOX/process_path.git", rev = "de226a26e8e18edbdb1d6f986afe37bbbf35fbf4" }

こういう変な差分(toml_editのよくわからない仕様由来)が発生したのでそこだけ手動で対応しました。

-[target."cfg(windows)".dependencies]
+[target."cfg(windows)" .dependencies]

Copy link
Member

@Hiroshiba Hiroshiba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

変なフォーマットになるのは公式に言っとくとあとあと楽できるかもですね。

@Hiroshiba
Copy link
Member

たぶん問題ないと思うのでマージします!

@Hiroshiba Hiroshiba merged commit 3c0d7bb into VOICEVOX:main May 31, 2023
@qryxip qryxip mentioned this pull request Jun 6, 2023
67 tasks
Hiroshiba added a commit that referenced this pull request Jun 12, 2023
* Docs: 事例紹介にvoicevoxcore.goを追加 (#498)

Docs: 事例紹介のvoicevoxcore.goを追加

* 間違った`char*`の解放を明示的に拒否する (#500)

* Cargo.tomlをフォーマットする (#504)

* Update rust toolchain 1.70.0 (#506)

Co-authored-by: PickledChair <PickledChair@users.noreply.github.com>
Co-authored-by: Ryo Yamashita <qryxip@gmail.com>

* Rust APIのbuild.rsを抹消する (#508)

* Python APIでは`panic=unwind`にする (#505)

* Python APIでは`panic=unwind`にする

* C APIは`-C panic=abort`でビルドする

* READMEのスペースが足りてなかった (#511)

* windows-latestでなぜかdownload_testが落ちるのを改修 (#517)

* windows-latestでなぜかdownload_testが落ちるのを修正

* a

* cbindgenに`fn.args=vertical`を設定し、`__declspec`の後の空行を消す (#518)

* `__declspec(dllimport)`と関数定義の隙間の空行を消す

* `fn.args="vertical"`を設定

* cbindgenの`include_version`を有効化する (#519)

* cbindgenの`include_version`を有効化する

* jobをリネーム

* 誤字

---------

Co-authored-by: Kota Amasaka <in9lude@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: PickledChair <PickledChair@users.noreply.github.com>
Co-authored-by: Hiroshiba <hihokaruta@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cargo.tomlをフォーマットする
2 participants