From a3becd3e7ebe7ce493b49b4ba2c04cf9db82a32c Mon Sep 17 00:00:00 2001 From: chiri Date: Fri, 9 Jan 2026 17:01:32 +0300 Subject: [PATCH] toml v1.1 --- Cargo.toml | 43 ++++++++++++++++++++++++++----------------- rust-toolchain.toml | 3 +++ 2 files changed, 29 insertions(+), 17 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8427a34..bfc213c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,29 +11,38 @@ name = "_yaml_rs" crate-type = ["cdylib"] [dependencies] -pyo3 = { version = "0.27.2", features = [ - "generate-import-lib", - "extension-module", -] } +pyo3 = { + version = "0.27.2", + features = [ + "generate-import-lib", + "extension-module", + ], +} atoi = "2.0.0" itoa = "1.0.17" saphyr = "0.0.6" saphyr-parser = "0.0.6" ordered-float = "5.1.0" -memchr = { version = "2", default-features = false } +memchr = { + version = "2", + default-features = false, +} encoding_rs = "0.8.35" -simdutf8 = { version = "0.1.5", features = ["aarch64_neon_prefetch"] } - -[dependencies.mimalloc] -optional = true -version = "0.1.48" -features = [ - # mimalloc v3 - # See: https://github.com/microsoft/mimalloc/tree/dev3?tab=readme-ov-file#branches - "v3", - "override", - "local_dynamic_tls", -] +simdutf8 = { + version = "0.1.5", + features = ["aarch64_neon_prefetch"], +} +mimalloc = { + version = "0.1.48", + optional = true, + features = [ + # mimalloc v3 + # See: https://github.com/microsoft/mimalloc/tree/dev3?tab=readme-ov-file#branches + "v3", + "override", + "local_dynamic_tls", + ], +} [features] default = [] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5d56faf..b16a0c6 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,5 @@ [toolchain] +# TOML v1.1.0 support is already available in nightly. +# IDK what the minimum version is, but it's already available in "nightly-2026-01-08", +# so we'll consider that the minimum version. channel = "nightly"