From 329e8cb8b7d581db9262cf530be4632d888c34e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 12 May 2026 02:40:16 +0000 Subject: [PATCH] build(deps): bump ctor from 0.12.0 to 1.0.1 Bumps [ctor](https://github.com/mmastrac/linktime) from 0.12.0 to 1.0.1. - [Release notes](https://github.com/mmastrac/linktime/releases) - [Changelog](https://github.com/mmastrac/linktime/blob/master/CHANGELOG.md) - [Commits](https://github.com/mmastrac/linktime/commits/ctor-1.0.1) --- updated-dependencies: - dependency-name: ctor dependency-version: 1.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- Cargo.lock | 8 ++++---- bins/dfagen/Cargo.toml | 2 +- bins/lalrgen/Cargo.toml | 2 +- libs/htmlparser/Cargo.toml | 2 +- libs/jsparser/Cargo.toml | 2 +- libs/jsruntime/Cargo.toml | 2 +- libs/jsruntime/tests/evaluate.rs.hbs | 2 +- libs/jsruntime/tests/integration_test.rs | 2 +- libs/logging/Cargo.toml | 2 +- libs/logging/src/macros.rs | 2 +- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0ff5f13a6..207b3cc34 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -647,9 +647,9 @@ checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" [[package]] name = "ctor" -version = "0.12.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8f521dd9c9e5f03986eb5c674b14b21e9ccf2eb9f98fecb681100214d5e9e4f" +checksum = "f7335955a5f85f95f3188623240e081e7b2059a8ad1bae68944b7cfdd718fb10" dependencies = [ "link-section", "linktime-proc-macro", @@ -1327,9 +1327,9 @@ checksum = "b6d2cec3eae94f9f509c767b45932f1ada8350c4bdb85af2fcab4a3c14807981" [[package]] name = "link-section" -version = "0.12.0" +version = "0.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0567ec9fe5ffdf9241cd90a7629f250a5f903d6ff4573cf7903308662d6fce40" +checksum = "ea2c24837c4fd5ab6a31d64133eae954f5199247523cf29586117e85245c0dd3" [[package]] name = "linktime-proc-macro" diff --git a/bins/dfagen/Cargo.toml b/bins/dfagen/Cargo.toml index 9e9b7d68b..dd36c5286 100644 --- a/bins/dfagen/Cargo.toml +++ b/bins/dfagen/Cargo.toml @@ -22,7 +22,7 @@ serde_yaml = "0.9.34" smallvec = "1.15.1" [dev-dependencies] -ctor = "0.12.0" +ctor = "1.0.1" [lints] workspace = true diff --git a/bins/lalrgen/Cargo.toml b/bins/lalrgen/Cargo.toml index bfdc92796..37f2996ec 100644 --- a/bins/lalrgen/Cargo.toml +++ b/bins/lalrgen/Cargo.toml @@ -27,7 +27,7 @@ serde_yaml = "0.9.34" [dev-dependencies] assert_matches = "1.5.0" -ctor = "0.12.0" +ctor = "1.0.1" pretty_assertions = "1.4.1" [lints] diff --git a/libs/htmlparser/Cargo.toml b/libs/htmlparser/Cargo.toml index 7ed74d8c0..3fa35e000 100644 --- a/libs/htmlparser/Cargo.toml +++ b/libs/htmlparser/Cargo.toml @@ -20,7 +20,7 @@ unicase = "2.9.0" [dev-dependencies] anyhow = "1.0.102" criterion = "0.8.2" -ctor = "0.12.0" +ctor = "1.0.1" itertools = "0.14.0" toydom = { path = "../toydom" } diff --git a/libs/jsparser/Cargo.toml b/libs/jsparser/Cargo.toml index 1d4d912a9..290e4c4cd 100644 --- a/libs/jsparser/Cargo.toml +++ b/libs/jsparser/Cargo.toml @@ -25,7 +25,7 @@ unicode-id-start = "1.4.0" anyhow = "1.0.102" assert_matches = "1.5.0" clap = { version = "4.6.1", features = ["env", "derive", "wrap_help"] } -ctor = "0.12.0" +ctor = "1.0.1" [lints] workspace = true diff --git a/libs/jsruntime/Cargo.toml b/libs/jsruntime/Cargo.toml index 1728a4e49..d62f324b2 100644 --- a/libs/jsruntime/Cargo.toml +++ b/libs/jsruntime/Cargo.toml @@ -29,7 +29,7 @@ thiserror = "2.0.18" [dev-dependencies] assert_matches = "1.5.0" criterion = "0.8.2" -ctor = "0.12.0" +ctor = "1.0.1" [lints] workspace = true diff --git a/libs/jsruntime/tests/evaluate.rs.hbs b/libs/jsruntime/tests/evaluate.rs.hbs index b8874129d..fc919d2ce 100644 --- a/libs/jsruntime/tests/evaluate.rs.hbs +++ b/libs/jsruntime/tests/evaluate.rs.hbs @@ -17,7 +17,7 @@ use jsruntime::Value; logging::init!(); -#[ctor::ctor] +#[ctor::ctor(unsafe)] fn init_jsruntime() { jsruntime::initialize(); } diff --git a/libs/jsruntime/tests/integration_test.rs b/libs/jsruntime/tests/integration_test.rs index c96063eb8..8ac39e9bd 100644 --- a/libs/jsruntime/tests/integration_test.rs +++ b/libs/jsruntime/tests/integration_test.rs @@ -5,7 +5,7 @@ use jsruntime::Value; logging::init!(); -#[ctor::ctor] +#[ctor::ctor(unsafe)] fn init_jsruntime() { jsruntime::initialize(); } diff --git a/libs/logging/Cargo.toml b/libs/logging/Cargo.toml index 86811b76a..0a7cb3d85 100644 --- a/libs/logging/Cargo.toml +++ b/libs/logging/Cargo.toml @@ -11,7 +11,7 @@ version.workspace = true [dependencies] chrono = { version = "0.4.44", default-features = false, features = ["clock"] } -ctor = "0.12.0" +ctor = "1.0.1" is-terminal = "0.4.17" tracing = "0.1.44" tracing-subscriber = { version = "0.3.23", features = ["env-filter", "json"] } diff --git a/libs/logging/src/macros.rs b/libs/logging/src/macros.rs index 6010279dd..e1d0069ef 100644 --- a/libs/logging/src/macros.rs +++ b/libs/logging/src/macros.rs @@ -1,7 +1,7 @@ #[macro_export] macro_rules! init { () => { - #[ctor::ctor] + #[ctor::ctor(unsafe)] fn logging_init() { $crate::init(); }