Skip to content

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Jun 10, 2023

内容

project-vvm-async-apiにそろそろmainをマージしようと思ったのですが、こっちではこのままだと #508 が適用できないことに気付きました。

このPRはvoicevox_coreクレート内で$OUT_DIRを使っているテストユーティリティを、test_utilクレートに移動します。

関連 Issue

#497

その他


use crate::VoiceModel;

pub async fn open_default_vvm_file() -> VoiceModel {
VoiceModel::from_path(
convert_zip_vvm(
::test_util::convert_zip_vvm(
Copy link
Member Author

Choose a reason for hiding this comment

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

open_default_vvm_fileはこっちに残す。

Rustではdev-dependencyの関係に限り「クレートの相互依存」ができるものの、「voicevox_coreクレート」と「test_util側から見えるvoicevox_coreクレート」が別物として扱われてしまう(?)ため、voicevox_core::VoiceModelを生成する関数は外に出せない。

image

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 dfbb533 into VOICEVOX:project-vvm-async-api Jun 10, 2023
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.

2 participants