From 32b60d3122cd38a78e58014ca62bd9125a9fad92 Mon Sep 17 00:00:00 2001 From: Kan-Ru Chen Date: Fri, 3 May 2024 22:02:56 +0900 Subject: [PATCH] chore: bump version to 0.8.0-rc.3 --- CMakeLists.txt | 2 +- Cargo.lock | 6 +++--- Cargo.toml | 2 +- capi/Cargo.toml | 4 ++-- doc/chewing-cli.1 | 4 ++-- fuzzer/Cargo.toml | 4 ++-- tests/testhelper/Cargo.toml | 2 +- tools/Cargo.toml | 4 ++-- vet/config.toml | 8 -------- vet/imports.lock | 28 ++++++++++++++++++++++++++++ 10 files changed, 42 insertions(+), 22 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 191b593b7..70623f0b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 3.24.0) project(libchewing LANGUAGES C) -set(CMAKE_PROJECT_VERSION 0.8.0-rc.2) +set(CMAKE_PROJECT_VERSION 0.8.0-rc.3) set(LIBCHEWING_VERSION ${CMAKE_PROJECT_VERSION}) set(PACKAGE_VERSION ${CMAKE_PROJECT_VERSION}) set(LIBCHEWING_BINARY_VERSION 1.0.0) diff --git a/Cargo.lock b/Cargo.lock index a9df34b15..5bbd6fad2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,7 +94,7 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chewing" -version = "0.8.0-beta.2" +version = "0.8.0-beta.3" dependencies = [ "der", "directories", @@ -105,7 +105,7 @@ dependencies = [ [[package]] name = "chewing-cli" -version = "0.8.0-beta.2" +version = "0.8.0-beta.3" dependencies = [ "anyhow", "chewing", @@ -115,7 +115,7 @@ dependencies = [ [[package]] name = "chewing_capi" -version = "0.8.0-beta.2" +version = "0.8.0-beta.3" dependencies = [ "chewing", "env_logger", diff --git a/Cargo.toml b/Cargo.toml index 3616b5c90..78f4797ca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ name = "chewing" description = "The Chewing (酷音) intelligent Zhuyin input method." documentation = "https://docs.rs/chewing" license = "LGPL-2.1-or-later" -version = "0.8.0-beta.2" +version = "0.8.0-beta.3" rust-version = "1.70" edition = "2021" diff --git a/capi/Cargo.toml b/capi/Cargo.toml index 86174e3f1..7aeb9a573 100644 --- a/capi/Cargo.toml +++ b/capi/Cargo.toml @@ -2,7 +2,7 @@ name = "chewing_capi" description = "The Chewing (酷音) intelligent Zhuyin input method." license = "LGPL-2.1-or-later" -version = "0.8.0-beta.2" +version = "0.8.0-beta.3" rust-version = "1.70" edition = "2021" @@ -10,7 +10,7 @@ edition = "2021" crate-type = ["rlib", "staticlib"] [dependencies] -chewing = { version = "0.8.0-beta.2", path = ".." } +chewing = { version = "0.8.0-beta.3", path = ".." } env_logger = { version = ">= 0.10.2", default-features = false } log = { workspace = true } diff --git a/doc/chewing-cli.1 b/doc/chewing-cli.1 index 52d8ac187..20deffc6e 100644 --- a/doc/chewing-cli.1 +++ b/doc/chewing-cli.1 @@ -1,6 +1,6 @@ .ie \n(.g .ds Aq \(aq .el .ds Aq ' -.TH chewing-cli 1 "chewing-cli 0.8.0-beta.2" +.TH chewing-cli 1 "chewing-cli 0.8.0-beta.3" .SH NAME chewing\-cli \- Tools of the Chewing (酷音) intelligent Zhuyin input method. .SH SYNOPSIS @@ -25,4 +25,4 @@ Display information about the dictionary chewing\-cli\-dump(1) Dump the dictionary entries into tsi.src formatted stream .SH VERSION -v0.8.0\-beta.2 +v0.8.0\-beta.3 diff --git a/fuzzer/Cargo.toml b/fuzzer/Cargo.toml index f12ac6961..d710380f3 100644 --- a/fuzzer/Cargo.toml +++ b/fuzzer/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -chewing = { version = "0.8.0-beta.2", path = ".." } -chewing_capi = { version = "0.8.0-beta.2", path = "../capi" } +chewing = { version = "0.8.0-beta.3", path = ".." } +chewing_capi = { version = "0.8.0-beta.3", path = "../capi" } log = "0.4.21" env_logger = { version = ">= 0.10.2", default-features = false } diff --git a/tests/testhelper/Cargo.toml b/tests/testhelper/Cargo.toml index 5b9d21951..4e1ae8228 100644 --- a/tests/testhelper/Cargo.toml +++ b/tests/testhelper/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" crate-type = ["cdylib"] [dependencies] -chewing = { version = "0.8.0-beta.2", path = "../.." } +chewing = { version = "0.8.0-beta.3", path = "../.." } [features] sqlite = ["chewing/sqlite"] diff --git a/tools/Cargo.toml b/tools/Cargo.toml index e81f2b0f8..96ffcbccb 100644 --- a/tools/Cargo.toml +++ b/tools/Cargo.toml @@ -2,12 +2,12 @@ name = "chewing-cli" description = "Tools of the Chewing (酷音) intelligent Zhuyin input method." license = "LGPL-2.1-or-later" -version = "0.8.0-beta.2" +version = "0.8.0-beta.3" edition = "2021" [dependencies] anyhow = "1.0.0" -chewing = { version = "0.8.0-beta.2", path = "..", features = ["sqlite"] } +chewing = { version = "0.8.0-beta.3", path = "..", features = ["sqlite"] } clap = { version = ">= 4.4.18", features = ["derive"] } clap_mangen = { version = "0.2.20", optional = true } diff --git a/vet/config.toml b/vet/config.toml index 1da1716dc..ecdcd30ae 100644 --- a/vet/config.toml +++ b/vet/config.toml @@ -92,11 +92,3 @@ criteria = "safe-to-deploy" [[exemptions.wasi]] version = "0.11.0+wasi-snapshot-preview1" criteria = "safe-to-deploy" - -[[exemptions.zerocopy]] -version = "0.7.32" -criteria = "safe-to-deploy" - -[[exemptions.zerocopy-derive]] -version = "0.7.32" -criteria = "safe-to-deploy" diff --git a/vet/imports.lock b/vet/imports.lock index 12b807e63..f0a952a54 100644 --- a/vet/imports.lock +++ b/vet/imports.lock @@ -1,6 +1,14 @@ # cargo-vet imports lock +[[unpublished.chewing]] +version = "0.8.0-beta.3" +audited_as = "0.8.0-beta.2" + +[[unpublished.chewing-cli]] +version = "0.8.0-beta.3" +audited_as = "0.8.0-beta.2" + [[publisher.anstream]] version = "0.6.13" when = "2024-02-27" @@ -473,3 +481,23 @@ criteria = "safe-to-deploy" delta = "0.4.18 -> 0.4.20" notes = "Only cfg attribute and internal macro changes and module refactorings" aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml" + +[[audits.mozilla.audits.zerocopy]] +who = "Alex Franchuk " +criteria = "safe-to-deploy" +version = "0.7.32" +notes = """ +This crate is `no_std` so doesn't use any side-effectful std functions. It +contains quite a lot of `unsafe` code, however. I verified portions of this. It +also has a large, thorough test suite. The project claims to run tests with +Miri to have stronger soundness checks, and also claims to use formal +verification tools to prove correctness. +""" +aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml" + +[[audits.mozilla.audits.zerocopy-derive]] +who = "Alex Franchuk " +criteria = "safe-to-deploy" +version = "0.7.32" +notes = "Clean, safe macros for zerocopy." +aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml"