chore: checkpoint before Python removal

This commit is contained in:
2026-03-26 22:33:59 +00:00
parent 683cec9307
commit e568ddf82a
29972 changed files with 11269302 additions and 2 deletions

32
vendor/dunce/.appveyor.yml vendored Normal file
View File

@@ -0,0 +1,32 @@
os: Visual Studio 2015
environment:
matrix:
# Stable 64-bit MSVC
- channel: stable
target: x86_64-pc-windows-msvc
# Nightly 32-bit MSVC
- channel: nightly
target: i686-pc-windows-msvc
# Beta 32-bit GNU
- channel: beta
target: i686-pc-windows-gnu
matrix:
allow_failures:
- channel: nightly
- channel: beta
install:
- appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
- rustup-init -yv --default-toolchain %channel% --default-host %target%
- set PATH=%PATH%;%USERPROFILE%\.cargo\bin
- rustc -vV
- cargo -vV
# Uses 'cargo test' to run tests and build. Alternatively, the project may call compiled programs
# directly or perform other testing commands. Rust will automatically be placed in the PATH
# environment variable.
build: false
test_script:
- cargo test --all --verbose

1
vendor/dunce/.cargo-checksum.json vendored Normal file
View File

@@ -0,0 +1 @@
{"files":{".appveyor.yml":"46eaefbe84eedcbbb5d3377867de110f9d78ed4e24337617e3440e1bcecb4099",".cargo_vcs_info.json":"c8b8a5549297d4e9575bfcfab14640e6bcae01079c296a8d5a1f8c05a2587b76",".gitlab-ci.yml":"a4c6ebc4d51b7d9958a149e965ce694a2f707f8c533c8965982ab3a86bbeb48b","Cargo.toml":"4c43171921da7db4e1a52c7eb43aa1f5321a7dee887d6b185d2adb6f3d4d3469","Cargo.toml.orig":"14e322002ad961edfdd3494b2094b379de39ee9efbc196dbafc1e0606bdb0e36","LICENSE":"a2010f343487d3f7618affe54f789f5487602331c0a8d03f49e9a7c547cf0499","README.md":"e52284cb0da023e63b6639bf313c6c9f287c398d73930b84b32e5d5901ad3b72","src/lib.rs":"e401baa38d5f10fa7fc5f58e9dd96818a5278ef4cb083e50b507d357f66a2f00"},"package":"92773504d58c093f6de2459af4af33faa518c13451eb8f2b5698ed3d36e7c813"}

6
vendor/dunce/.cargo_vcs_info.json vendored Normal file
View File

@@ -0,0 +1,6 @@
{
"git": {
"sha1": "1ee29a83526c9f4c3618e1335f0454c878a54dcf"
},
"path_in_vcs": ""
}

10
vendor/dunce/.gitlab-ci.yml vendored Normal file
View File

@@ -0,0 +1,10 @@
# This file is a template, and might need editing before it works on your project.
# Official language image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/rust/tags/
image: "rust:latest"
# Use cargo to test the project
test:cargo:
script:
- rustc --version && cargo --version # Print version info for debugging
- cargo test --verbose

52
vendor/dunce/Cargo.toml vendored Normal file
View File

@@ -0,0 +1,52 @@
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "dunce"
version = "1.0.5"
authors = ["Kornel <kornel@geekhood.net>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Normalize Windows paths to the most compatible format, avoiding UNC where possible"
homepage = "https://lib.rs/crates/dunce"
documentation = "https://docs.rs/dunce"
readme = "README.md"
keywords = [
"realpath",
"unc",
"canonicalize",
"windows",
"deunc",
]
categories = ["filesystem"]
license = "CC0-1.0 OR MIT-0 OR Apache-2.0"
repository = "https://gitlab.com/kornelski/dunce"
[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
targets = ["x86_64-unknown-linux-gnu"]
[lib]
name = "dunce"
path = "src/lib.rs"
[badges.appveyor]
repository = "pornel/dunce"
[badges.gitlab]
repository = "kornelski/dunce"
[badges.maintenance]
status = "passively-maintained"

121
vendor/dunce/LICENSE vendored Normal file
View File

@@ -0,0 +1,121 @@
Creative Commons Legal Code
CC0 1.0 Universal
CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE
LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN
ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS
INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES
REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS
PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM
THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED
HEREUNDER.
Statement of Purpose
The laws of most jurisdictions throughout the world automatically confer
exclusive Copyright and Related Rights (defined below) upon the creator
and subsequent owner(s) (each and all, an "owner") of an original work of
authorship and/or a database (each, a "Work").
Certain owners wish to permanently relinquish those rights to a Work for
the purpose of contributing to a commons of creative, cultural and
scientific works ("Commons") that the public can reliably and without fear
of later claims of infringement build upon, modify, incorporate in other
works, reuse and redistribute as freely as possible in any form whatsoever
and for any purposes, including without limitation commercial purposes.
These owners may contribute to the Commons to promote the ideal of a free
culture and the further production of creative, cultural and scientific
works, or to gain reputation or greater distribution for their Work in
part through the use and efforts of others.
For these and/or other purposes and motivations, and without any
expectation of additional consideration or compensation, the person
associating CC0 with a Work (the "Affirmer"), to the extent that he or she
is an owner of Copyright and Related Rights in the Work, voluntarily
elects to apply CC0 to the Work and publicly distribute the Work under its
terms, with knowledge of his or her Copyright and Related Rights in the
Work and the meaning and intended legal effect of CC0 on those rights.
1. Copyright and Related Rights. A Work made available under CC0 may be
protected by copyright and related or neighboring rights ("Copyright and
Related Rights"). Copyright and Related Rights include, but are not
limited to, the following:
i. the right to reproduce, adapt, distribute, perform, display,
communicate, and translate a Work;
ii. moral rights retained by the original author(s) and/or performer(s);
iii. publicity and privacy rights pertaining to a person's image or
likeness depicted in a Work;
iv. rights protecting against unfair competition in regards to a Work,
subject to the limitations in paragraph 4(a), below;
v. rights protecting the extraction, dissemination, use and reuse of data
in a Work;
vi. database rights (such as those arising under Directive 96/9/EC of the
European Parliament and of the Council of 11 March 1996 on the legal
protection of databases, and under any national implementation
thereof, including any amended or successor version of such
directive); and
vii. other similar, equivalent or corresponding rights throughout the
world based on applicable law or treaty, and any national
implementations thereof.
2. Waiver. To the greatest extent permitted by, but not in contravention
of, applicable law, Affirmer hereby overtly, fully, permanently,
irrevocably and unconditionally waives, abandons, and surrenders all of
Affirmer's Copyright and Related Rights and associated claims and causes
of action, whether now known or unknown (including existing as well as
future claims and causes of action), in the Work (i) in all territories
worldwide, (ii) for the maximum duration provided by applicable law or
treaty (including future time extensions), (iii) in any current or future
medium and for any number of copies, and (iv) for any purpose whatsoever,
including without limitation commercial, advertising or promotional
purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each
member of the public at large and to the detriment of Affirmer's heirs and
successors, fully intending that such Waiver shall not be subject to
revocation, rescission, cancellation, termination, or any other legal or
equitable action to disrupt the quiet enjoyment of the Work by the public
as contemplated by Affirmer's express Statement of Purpose.
3. Public License Fallback. Should any part of the Waiver for any reason
be judged legally invalid or ineffective under applicable law, then the
Waiver shall be preserved to the maximum extent permitted taking into
account Affirmer's express Statement of Purpose. In addition, to the
extent the Waiver is so judged Affirmer hereby grants to each affected
person a royalty-free, non transferable, non sublicensable, non exclusive,
irrevocable and unconditional license to exercise Affirmer's Copyright and
Related Rights in the Work (i) in all territories worldwide, (ii) for the
maximum duration provided by applicable law or treaty (including future
time extensions), (iii) in any current or future medium and for any number
of copies, and (iv) for any purpose whatsoever, including without
limitation commercial, advertising or promotional purposes (the
"License"). The License shall be deemed effective as of the date CC0 was
applied by Affirmer to the Work. Should any part of the License for any
reason be judged legally invalid or ineffective under applicable law, such
partial invalidity or ineffectiveness shall not invalidate the remainder
of the License, and in such case Affirmer hereby affirms that he or she
will not (i) exercise any of his or her remaining Copyright and Related
Rights in the Work or (ii) assert any associated claims and causes of
action with respect to the Work, in either case contrary to Affirmer's
express Statement of Purpose.
4. Limitations and Disclaimers.
a. No trademark or patent rights held by Affirmer are waived, abandoned,
surrendered, licensed or otherwise affected by this document.
b. Affirmer offers the Work as-is and makes no representations or
warranties of any kind concerning the Work, express, implied,
statutory or otherwise, including without limitation warranties of
title, merchantability, fitness for a particular purpose, non
infringement, or the absence of latent or other defects, accuracy, or
the present or absence of errors, whether or not discoverable, all to
the greatest extent permissible under applicable law.
c. Affirmer disclaims responsibility for clearing rights of other persons
that may apply to the Work or any use thereof, including without
limitation any person's Copyright and Related Rights in the Work.
Further, Affirmer disclaims responsibility for obtaining any necessary
consents, permissions or other rights required for any use of the
Work.
d. Affirmer understands and acknowledges that Creative Commons is not a
party to this document and has no duty or obligation with respect to
this CC0 or use of the Work.

27
vendor/dunce/README.md vendored Normal file
View File

@@ -0,0 +1,27 @@
# Dunce (de-UNC)
In Windows the regular paths (`C:\foo`) are supported by all programs,
but have lots of bizarre restrictions for backwards compatibility with MS-DOS.
There are also Windows NT UNC paths (`\\?\C:\foo`), which are more robust and with fewer gotchas,
but are rarely supported by Windows programs — even Microsoft's own!
This crate converts Windows UNC paths to the MS-DOS-compatible format whenever possible,
but leaves UNC paths as-is when they can't be unambiguously expressed in a simpler way.
This allows legacy programs to access all paths they can possibly access,
and doesn't break any paths for UNC-aware programs.
For example, `\\?\C:\Windows` will be converted to `C:\Windows`, but `\\?\C:\COM` will be
left as-is, because it contains a reserved filename.
In Rust the worst UNC offender is the `fs::canonicalize()` function. This crate provides
a drop-in replacement for it that returns paths you'd expect.
On non-Windows platforms these functions leave paths unmodified, so it's safe to use them
unconditionally for all platforms.
This crate's handling of UNC paths is safer than just unconditionally stripping the `\\` prefix,
because naively stripped UNC paths with hostnames change to relative directory paths. There are
other normalization rules, special characters, and length limits that could change meaning
of the path.
Parsing is based on <https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx>.

305
vendor/dunce/src/lib.rs vendored Normal file
View File

@@ -0,0 +1,305 @@
//! Filesystem paths in Windows are a total mess. This crate normalizes paths to the most
//! compatible (but still correct) format, so that you don't have to worry about the mess.
//!
//! In Windows the regular/legacy paths (`C:\foo`) are supported by all programs, but have
//! lots of bizarre restrictions for backwards compatibility with MS-DOS.
//!
//! And there are Windows NT UNC paths (`\\?\C:\foo`), which are more robust and with fewer
//! gotchas, but are rarely supported by Windows programs. Even Microsoft's own!
//!
//! This crate converts paths to legacy format whenever possible, but leaves UNC paths as-is
//! when they can't be unambiguously expressed in a simpler way. This allows legacy programs
//! to access all paths they can possibly access, and UNC-aware programs to access all paths.
//!
//! On non-Windows platforms these functions leave paths unmodified, so it's safe to use them
//! unconditionally for all platforms.
//!
//! Parsing is based on <https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx>
//!
//! [Project homepage](https://lib.rs/crates/dunce).
#![doc(html_logo_url = "https://assets.gitlab-static.net/uploads/-/system/project/avatar/4717715/dyc.png")]
#[cfg(any(windows, test))]
use std::ffi::OsStr;
use std::fs;
use std::io;
#[cfg(windows)]
use std::os::windows::ffi::OsStrExt;
#[cfg(windows)]
use std::path::{Component, Prefix};
use std::path::{Path, PathBuf};
/// Takes any path, and when possible, converts Windows UNC paths to regular paths.
/// If the path can't be converted, it's returned unmodified.
///
/// On non-Windows this is no-op.
///
/// `\\?\C:\Windows` will be converted to `C:\Windows`,
/// but `\\?\C:\COM` will be left as-is (due to a reserved filename).
///
/// Use this to pass arbitrary paths to programs that may not be UNC-aware.
///
/// It's generally safe to pass UNC paths to legacy programs, because
/// these paths contain a reserved prefix, so will gracefully fail
/// if used with legacy APIs that don't support UNC.
///
/// This function does not perform any I/O.
///
/// Currently paths with unpaired surrogates aren't converted even if they
/// could be, due to limitations of Rust's `OsStr` API.
///
/// To check if a path remained as UNC, use `path.as_os_str().as_encoded_bytes().starts_with(b"\\\\")`.
#[inline]
pub fn simplified(path: &Path) -> &Path {
if is_safe_to_strip_unc(path) {
// unfortunately we can't safely strip prefix from a non-Unicode path
path.to_str().and_then(|s| s.get(4..)).map_or(path, Path::new)
} else {
path
}
}
/// Like `std::fs::canonicalize()`, but on Windows it outputs the most
/// compatible form of a path instead of UNC.
#[inline(always)]
pub fn canonicalize<P: AsRef<Path>>(path: P) -> io::Result<PathBuf> {
let path = path.as_ref();
#[cfg(not(windows))]
{
fs::canonicalize(path)
}
#[cfg(windows)]
{
canonicalize_win(path)
}
}
#[cfg(windows)]
fn canonicalize_win(path: &Path) -> io::Result<PathBuf> {
let real_path = fs::canonicalize(path)?;
Ok(if is_safe_to_strip_unc(&real_path) {
real_path.to_str().and_then(|s| s.get(4..)).map(PathBuf::from).unwrap_or(real_path)
} else {
real_path
})
}
pub use self::canonicalize as realpath;
#[cfg(any(windows,test))]
fn windows_char_len(s: &OsStr) -> usize {
#[cfg(not(windows))]
let len = s.to_string_lossy().chars().map(|c| if c as u32 <= 0xFFFF {1} else {2}).sum();
#[cfg(windows)]
let len = s.encode_wide().count();
len
}
#[cfg(any(windows,test))]
fn is_valid_filename(file_name: &OsStr) -> bool {
if file_name.len() > 255 && windows_char_len(file_name) > 255 {
return false;
}
// Non-unicode is safe, but Rust can't reasonably losslessly operate on such strings
let byte_str = if let Some(s) = file_name.to_str() {
s.as_bytes()
} else {
return false;
};
if byte_str.is_empty() {
return false;
}
// Only ASCII subset is checked, and WTF-8/UTF-8 is safe for that
if byte_str.iter().any(|&c| matches!(c, 0..=31 | b'<' | b'>' | b':' | b'"' | b'/' | b'\\' | b'|' | b'?' | b'*')) {
return false
}
// Filename can't end with . or space (except before extension, but this checks the whole name)
if matches!(byte_str.last(), Some(b' ' | b'.')) {
return false;
}
true
}
#[cfg(any(windows, test))]
const RESERVED_NAMES: [&str; 22] = [
"AUX", "NUL", "PRN", "CON", "COM1", "COM2", "COM3", "COM4", "COM5", "COM6", "COM7", "COM8",
"COM9", "LPT1", "LPT2", "LPT3", "LPT4", "LPT5", "LPT6", "LPT7", "LPT8", "LPT9",
];
#[cfg(any(windows, test))]
fn is_reserved<P: AsRef<OsStr>>(file_name: P) -> bool {
// con.txt is reserved too
// all reserved DOS names have ASCII-compatible stem
if let Some(name) = Path::new(&file_name).file_stem().and_then(|s| s.to_str()) {
// "con.. .txt" is "CON" for DOS
let trimmed = right_trim(name);
if trimmed.len() <= 4 && RESERVED_NAMES.into_iter().any(|name| trimmed.eq_ignore_ascii_case(name)) {
return true;
}
}
false
}
#[cfg(not(windows))]
#[inline]
const fn is_safe_to_strip_unc(_path: &Path) -> bool {
false
}
#[cfg(windows)]
fn is_safe_to_strip_unc(path: &Path) -> bool {
let mut components = path.components();
match components.next() {
Some(Component::Prefix(p)) => match p.kind() {
Prefix::VerbatimDisk(..) => {},
_ => return false, // Other kinds of UNC paths
},
_ => return false, // relative or empty
}
for component in components {
match component {
Component::RootDir => {},
Component::Normal(file_name) => {
// it doesn't allocate in most cases,
// and checks are interested only in the ASCII subset, so lossy is fine
if !is_valid_filename(file_name) || is_reserved(file_name) {
return false;
}
}
_ => return false, // UNC paths take things like ".." literally
};
}
let path_os_str = path.as_os_str();
// However, if the path is going to be used as a directory it's 248
if path_os_str.len() > 260 && windows_char_len(path_os_str) > 260 {
return false;
}
true
}
/// Trim '.' and ' '
#[cfg(any(windows, test))]
fn right_trim(s: &str) -> &str {
s.trim_end_matches([' ','.'])
}
#[test]
fn trim_test() {
assert_eq!("a", right_trim("a."));
assert_eq!("ą", right_trim("ą."));
assert_eq!("a", right_trim("a "));
assert_eq!("ąą", right_trim("ąą "));
assert_eq!("a", right_trim("a. . . .... "));
assert_eq!("a. . . ..ź", right_trim("a. . . ..ź.. "));
assert_eq!(" b", right_trim(" b"));
assert_eq!("", right_trim(""));
assert_eq!("c. c", right_trim("c. c."));
assert_eq!("", right_trim(""));
assert_eq!("", right_trim(""));
}
#[test]
fn reserved() {
assert!(is_reserved("CON"));
assert!(is_reserved("con"));
assert!(is_reserved("con.con"));
assert!(is_reserved("COM4"));
assert!(is_reserved("COM4.txt"));
assert!(is_reserved("COM4 .txt"));
assert!(is_reserved("con."));
assert!(is_reserved("con ."));
assert!(is_reserved("con "));
assert!(is_reserved("con . "));
assert!(is_reserved("con . .txt"));
assert!(is_reserved("con.....txt"));
assert!(is_reserved("PrN....."));
assert!(!is_reserved(" PrN....."));
assert!(!is_reserved(" CON"));
assert!(!is_reserved("COM0"));
assert!(!is_reserved("COM77"));
assert!(!is_reserved(" CON "));
assert!(!is_reserved(".CON"));
assert!(!is_reserved("@CON"));
assert!(!is_reserved("not.CON"));
assert!(!is_reserved("CON。"));
}
#[test]
fn len() {
assert_eq!(1, windows_char_len(OsStr::new("a")));
assert_eq!(1, windows_char_len(OsStr::new("")));
assert_eq!(1, windows_char_len(OsStr::new("")));
assert_eq!(2, windows_char_len(OsStr::new("🧐")));
assert_eq!(2, windows_char_len(OsStr::new("®®")));
}
#[test]
fn valid() {
assert!(!is_valid_filename("..".as_ref()));
assert!(!is_valid_filename(".".as_ref()));
assert!(!is_valid_filename("aaaaaaaaaa:".as_ref()));
assert!(!is_valid_filename("ą:ą".as_ref()));
assert!(!is_valid_filename("".as_ref()));
assert!(!is_valid_filename("a ".as_ref()));
assert!(!is_valid_filename(" a. ".as_ref()));
assert!(!is_valid_filename("a/".as_ref()));
assert!(!is_valid_filename("/a".as_ref()));
assert!(!is_valid_filename("/".as_ref()));
assert!(!is_valid_filename("\\".as_ref()));
assert!(!is_valid_filename("\\a".as_ref()));
assert!(!is_valid_filename("<x>".as_ref()));
assert!(!is_valid_filename("a*".as_ref()));
assert!(!is_valid_filename("?x".as_ref()));
assert!(!is_valid_filename("a\0a".as_ref()));
assert!(!is_valid_filename("\x1f".as_ref()));
assert!(!is_valid_filename(::std::iter::repeat("a").take(257).collect::<String>().as_ref()));
assert!(is_valid_filename(::std::iter::repeat("®").take(254).collect::<String>().as_ref()));
assert!(is_valid_filename("ファイル".as_ref()));
assert!(is_valid_filename("a".as_ref()));
assert!(is_valid_filename("a.aaaaaaaa".as_ref()));
assert!(is_valid_filename("a........a".as_ref()));
assert!(is_valid_filename(" b".as_ref()));
}
#[test]
#[cfg(windows)]
fn realpath_test() {
assert_eq!(r"C:\WINDOWS", canonicalize(r"C:\Windows").unwrap().to_str().unwrap().to_uppercase());
assert_ne!(r".", canonicalize(r".").unwrap().to_str().unwrap());
}
#[test]
#[cfg(windows)]
fn strip() {
assert_eq!(Path::new(r"C:\foo\😀"), simplified(Path::new(r"\\?\C:\foo\😀")));
assert_eq!(Path::new(r"\\?\serv\"), simplified(Path::new(r"\\?\serv\")));
assert_eq!(Path::new(r"\\.\C:\notdisk"), simplified(Path::new(r"\\.\C:\notdisk")));
assert_eq!(Path::new(r"\\?\GLOBALROOT\Device\ImDisk0\path\to\file.txt"), simplified(Path::new(r"\\?\GLOBALROOT\Device\ImDisk0\path\to\file.txt")));
}
#[test]
#[cfg(windows)]
fn safe() {
assert!(is_safe_to_strip_unc(Path::new(r"\\?\C:\foo\bar")));
assert!(is_safe_to_strip_unc(Path::new(r"\\?\Z:\foo\bar\")));
assert!(is_safe_to_strip_unc(Path::new(r"\\?\Z:\😀\🎃\")));
assert!(is_safe_to_strip_unc(Path::new(r"\\?\c:\foo")));
let long = ::std::iter::repeat("®").take(160).collect::<String>();
assert!(is_safe_to_strip_unc(Path::new(&format!(r"\\?\c:\{}", long))));
assert!(!is_safe_to_strip_unc(Path::new(&format!(r"\\?\c:\{}\{}", long, long))));
assert!(!is_safe_to_strip_unc(Path::new(r"\\?\C:\foo\.\bar")));
assert!(!is_safe_to_strip_unc(Path::new(r"\\?\C:\foo\..\bar")));
assert!(!is_safe_to_strip_unc(Path::new(r"\\?\c\foo")));
assert!(!is_safe_to_strip_unc(Path::new(r"\\?\c\foo/bar")));
assert!(!is_safe_to_strip_unc(Path::new(r"\\?\c:foo")));
assert!(!is_safe_to_strip_unc(Path::new(r"\\?\cc:foo")));
assert!(!is_safe_to_strip_unc(Path::new(r"\\?\c:foo\bar")));
}

Binary file not shown.

View File

Binary file not shown.

View File

@@ -0,0 +1 @@
{"name":"dunce","vers":"1.0.5","deps":[],"features":{},"features2":null,"cksum":"3b7811fc6ab202b28230fce62ac9acb760a74473e553b8af722f4589fe0ff49f","yanked":null,"links":null,"rust_version":null,"v":2}