德国慕尼黑 - 2023年3月7日 - 安全系统的开发对汽车市场至关重要。Rust编程语言默认是内存安全的,是任务关键型汽车软件设计的重要推动者。Infineon迈出了第一步,在嵌入式领域创造了一个Rust生态系统。该公司成为第一个正式支持其微控制器使用Rust的主要半导体制造商。
ReadMore:https://www.infineon.com/cms/en/about-infineon/press/market-news/2023/INFATV202303-076.html
# 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]
- rust-version = "1.19"
+ rust-version = "1.13"
name = "serde"
- version = "1.0.153"
+ version = "1.0.152"
authors = [
"Erick Tryzelaar <erick.tryzelaar@gmail.com>",
"David Tolnay <dtolnay@gmail.com>",
]
build = "build.rs"
include = [
"build.rs",
"src/**/*.rs",
"crates-io.md",
"README.md",
"LICENSE-APACHE",
"LICENSE-MIT",
]
description = "A generic serialization/deserialization framework"
homepage = "https://serde.rs"
documentation = "https://docs.rs/serde"
readme = "crates-io.md"
keywords = [
"serde",
"serialization",
"no_std",
]
categories = [
"encoding",
"no-std",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/serde-rs/serde"
-
- [package.metadata.docs.rs]
- targets = ["x86_64-unknown-linux-gnu"]
[package.metadata.playground]
features = [
"derive",
"rc",
]
+ [package.metadata.docs.rs]
+ targets = ["x86_64-unknown-linux-gnu"]
+
[lib]
doc-scrape-examples = false
[dependencies.serde_derive]
- version = "=1.0.153"
+ version = "=1.0.152"
optional = true
[dev-dependencies.serde_derive]
version = "1.0"
[features]
alloc = []
default = ["std"]
derive = ["serde_derive"]
rc = []
std = []
unstable = []
ReadMore:https://github.com/xfbs/diff.rs
单击体验:https://diff.rs/serde/1.0.153/1.0.152/Cargo.toml
作者在文章中比较了 Zig 与 Rust,最后的基准测试得出的结论是 Zig 比 Rust 快 1.56-1.76 倍左右。
让我们看看 Rust 的代码的优化空间有多大。
Github:https://github.com/zackradisic/rust-vs-zig
From 日报小组 冰山上的 mook && MalikHou
社区学习交流平台订阅:
Rustcc论坛: 支持rss
微信公众号:Rust语言中文社区