Most Viewed Content:

India’s censorship body gave power to remove pirated Movies from platforms

India’s Ministry of Information and Broadcasting announced that its...

OpenAI Launched Assistants API, Allowing Developers to Customize AI Assistants with One Click

At today's OpenAI's first developer conference, OpenAI launched the...

Microsoft working on new features for Win11 / Win12: smart notifications, depth-of-field effects

According to the source Albacore (@thebookisclosed), Microsoft is preparing...

Google Open Source Rust Crate audits Results: Easy for Rust developers to verify source code security

Many of Google’s open-source projects use Rust, a modern systems language designed to build reliable and efficient software. Google has open-sourced the results of its review of Rust Crate on GitHub, and developers can import these results into their projects to prove the properties of the Rust Crate they use.

▲ Image Source Google Open Source Blog

The Rust community has a service called Crates.io for developers to distribute their own crates, and developers can use Crates.io to download and use crates developed by others, but all third-party code carries an element of risk. At the local compiler level, the requirements for Crate may only be that it does not contain active malicious code, violate privacy, compromise data or install malware, but code for client-side deployment needs to meet more stringent requirements, such as ensuring that there are no memory security issues and that it also meets a range of standards and specifications and uses newer encryption technologies.

Therefore, usually at the beginning of a new project, members of the development team will thoroughly review the source code based on its security, correctness, testing, and other criteria, which can lead to duplication of effort when several different projects review the same crate.

Third-party developers reviewing the Crate used by their own projects may waste resources performing duplicate work, so Google announced open-source review results to avoid duplication of review efforts. Google continuously integrates these review results into its supply chain repository and uses cargo vet to quickly validate the Crate used by a project.

Developers can import Google’s open-source audit results, including attributes such as code quality, security, and testing requirements, into their own projects and decide if they meet the project requirements based on these Crate attributes. Different use cases have different requirements, and cargo vet allows users to configure requirements independently for each dependent project.

Google’s ChromeOS and Fuchsia projects have already contributed Crate audit results, and other Google projects will be added gradually so that more Crates are covered. This work is still in its early stages, including details on how cargo vet implementation and shared auditing works, and may change later.

In the Rust programming language, a Crate is a compilation unit in Rust that can be compiled into a binary or library containing Rust code and other related resources that can be compiled into an executable or function library. are reusable software components and are therefore quite widely applicable.

Latest

2024 Beijing Auto Show: All-new Toyota Crown unveiled at the booth

At the Beijing Auto Show, which opened on April...

Teclast P50 Tablet released: Pre-installed with Android 14, Unisoc T606 processor

Teclast today officially announced the launch of its P50...

Nissan’s global sales in March were 365,845 units, YOY increase of 3.3%

Nissan announced the latest production and sales data: global...

Skyworth EV6 II super-charging car 2024 model launched: Starting from 139,800 RMB

The 2024 Skyworth EV6 II car was officially launched...

Newsletter

Don't miss

2024 Beijing Auto Show: All-new Toyota Crown unveiled at the booth

At the Beijing Auto Show, which opened on April...

Teclast P50 Tablet released: Pre-installed with Android 14, Unisoc T606 processor

Teclast today officially announced the launch of its P50...

Nissan’s global sales in March were 365,845 units, YOY increase of 3.3%

Nissan announced the latest production and sales data: global...

Skyworth EV6 II super-charging car 2024 model launched: Starting from 139,800 RMB

The 2024 Skyworth EV6 II car was officially launched...

Kia Sonet SUV launched with optional L2 smart driving assistance

Kia's entry-level SUV Sonet Motors was officially launched at...
James Lopez
James Lopezhttps://www.techgoing.com
James Lopez joined Techgoing as Senior News Editor in 2022. He's been a tech blogger since before the word was invented, and will never log off.

Leapmotor C16 multi-purpose 6-seater SUV set to debut at Beijing Auto Show

Leapmotor announced today that its new model, Leapmotor C16, positioned as "the world's first full-scenario multi-purpose large 6-seater SUV", will make its debut during...

Kia Sonet SUV launched with optional L2 smart driving assistance

Kia's entry-level SUV Sonet Motors was officially launched at the 2024 Beijing Auto Show today. The car is positioned as a "new generation smart...

2024 Beijing Auto Show: Deepal G318 reservations to open in May

At the 2024 Beijing Auto Show, Deepal Motors officially announced that the G318 model will be pre-ordered in May and will be officially delivered...