From 3d1ce4cd9493ad521b2691158da1c09980c44dc0 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Wed, 1 Jan 2025 11:46:37 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20`voicevox=5Fcore`=20(Rust=20API)?= =?UTF-8?q?=E4=BB=A5=E5=A4=96=E3=81=AE=E3=82=AF=E3=83=AC=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=82=92MIT=E3=81=A8=E5=AE=A3=E8=A8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 1 + crates/downloader/Cargo.toml | 1 + crates/test_util/Cargo.toml | 1 + crates/voicevox_core_c_api/Cargo.toml | 1 + crates/voicevox_core_java_api/Cargo.toml | 1 + crates/voicevox_core_macros/Cargo.toml | 1 + crates/voicevox_core_macros/LICENSE | 1 + crates/voicevox_core_python_api/Cargo.toml | 1 + crates/xtask/Cargo.toml | 1 + deny.toml | 7 ------- 10 files changed, 9 insertions(+), 7 deletions(-) create mode 120000 crates/voicevox_core_macros/LICENSE diff --git a/Cargo.toml b/Cargo.toml index d4b62869b..fe220c23e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -115,6 +115,7 @@ version = "0.0.0" edition = "2021" publish = false rust-version = "1.81.0" +license = "MIT" # min-sized-rustを元にrelease buildのサイズが小さくなるようにした # https://github.com/johnthagen/min-sized-rust diff --git a/crates/downloader/Cargo.toml b/crates/downloader/Cargo.toml index d86d4f7a8..5935780e9 100644 --- a/crates/downloader/Cargo.toml +++ b/crates/downloader/Cargo.toml @@ -2,6 +2,7 @@ name = "downloader" edition.workspace = true rust-version.workspace = true +license.workspace = true [[bin]] name = "download" diff --git a/crates/test_util/Cargo.toml b/crates/test_util/Cargo.toml index 5a6bbd7a4..925f28c73 100644 --- a/crates/test_util/Cargo.toml +++ b/crates/test_util/Cargo.toml @@ -2,6 +2,7 @@ name = "test_util" edition.workspace = true rust-version.workspace = true +license.workspace = true [dependencies] libloading.workspace = true diff --git a/crates/voicevox_core_c_api/Cargo.toml b/crates/voicevox_core_c_api/Cargo.toml index 4c4001b4d..faf1573bd 100644 --- a/crates/voicevox_core_c_api/Cargo.toml +++ b/crates/voicevox_core_c_api/Cargo.toml @@ -4,6 +4,7 @@ version.workspace = true edition.workspace = true publish.workspace = true rust-version.workspace = true +license.workspace = true [lib] crate-type = ["cdylib"] diff --git a/crates/voicevox_core_java_api/Cargo.toml b/crates/voicevox_core_java_api/Cargo.toml index b165fc5d5..95efaf448 100644 --- a/crates/voicevox_core_java_api/Cargo.toml +++ b/crates/voicevox_core_java_api/Cargo.toml @@ -4,6 +4,7 @@ version.workspace = true edition.workspace = true publish.workspace = true rust-version.workspace = true +license.workspace = true [lib] crate-type = ["cdylib"] diff --git a/crates/voicevox_core_macros/Cargo.toml b/crates/voicevox_core_macros/Cargo.toml index f0613f291..66d53497d 100644 --- a/crates/voicevox_core_macros/Cargo.toml +++ b/crates/voicevox_core_macros/Cargo.toml @@ -4,6 +4,7 @@ version.workspace = true edition.workspace = true publish.workspace = true rust-version.workspace = true +license.workspace = true [lib] name = "macros" diff --git a/crates/voicevox_core_macros/LICENSE b/crates/voicevox_core_macros/LICENSE new file mode 120000 index 000000000..30cff7403 --- /dev/null +++ b/crates/voicevox_core_macros/LICENSE @@ -0,0 +1 @@ +../../LICENSE \ No newline at end of file diff --git a/crates/voicevox_core_python_api/Cargo.toml b/crates/voicevox_core_python_api/Cargo.toml index 00e1e0d4e..d5be1963c 100644 --- a/crates/voicevox_core_python_api/Cargo.toml +++ b/crates/voicevox_core_python_api/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.0" edition.workspace = true publish.workspace = true rust-version.workspace = true +license.workspace = true [lib] crate-type = ["cdylib"] diff --git a/crates/xtask/Cargo.toml b/crates/xtask/Cargo.toml index 9fafb2aec..e2f7bbde2 100644 --- a/crates/xtask/Cargo.toml +++ b/crates/xtask/Cargo.toml @@ -2,6 +2,7 @@ name = "xtask" edition.workspace = true rust-version.workspace = true +license.workspace = true [dependencies] cbindgen.workspace = true diff --git a/deny.toml b/deny.toml index 40d559189..12c8203bf 100644 --- a/deny.toml +++ b/deny.toml @@ -171,12 +171,5 @@ clarify = [ { name = "ring", version = "0.17", expression = "MIT AND ISC AND OpenSSL", license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] }, # TODO: `package.license`を書く - { name = "downloader", expression = "MIT", license-files = [] }, - { name = "test_util", expression = "MIT", license-files = [] }, { name = "voicevox_core", expression = "MIT", license-files = [] }, - { name = "voicevox_core_c_api", expression = "MIT", license-files = [] }, - { name = "voicevox_core_java_api", expression = "MIT", license-files = [] }, - { name = "voicevox_core_macros", expression = "MIT", license-files = [] }, - { name = "voicevox_core_python_api", expression = "MIT", license-files = [] }, - { name = "xtask", expression = "MIT", license-files = [] }, ]