Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

rustix

Package Overview
Dependencies
Maintainers
1
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rustix - npm Package Compare versions

Comparing version
1.0.6
to
1.0.7
+1
-1
.cargo_vcs_info.json
{
"git": {
"sha1": "5ce17db768040400846f92c9313ba29daa21ab3e"
"sha1": "6883580f41f6055fced177f741a31b91a7e60fb4"
},
"path_in_vcs": ""
}
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
version = 3

@@ -127,5 +127,5 @@ [[package]]

name = "compiler_builtins"
version = "0.1.155"
version = "0.1.156"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "341e0830ca6170a4fcf02e92e57daf4b6f10142d48da32a547023867a6c8b35e"
checksum = "c1ffbd2789fe5bb95b96a2e22cbe3128239dc46ff0374e0d38e9f102062d7055"
dependencies = [

@@ -213,8 +213,8 @@ "rustc-std-workspace-core",

name = "dashmap"
version = "5.5.3"
version = "5.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "978747c1d849a7d2ee5e8adc0159961c48fb7e5db2f06af6723b80123bb53856"
checksum = "907076dfda823b0b36d2a1bb5f90c96660a5bbcd7729e10727f07858f22c4edc"
dependencies = [
"cfg-if",
"hashbrown 0.14.5",
"hashbrown",
"lock_api",

@@ -249,5 +249,5 @@ "once_cell",

name = "flate2"
version = "1.1.1"
version = "1.0.35"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ced92e76e966ca2fd84c8f7aa01a4aea65b0eb6648d72f7c8f3e2764a67fece"
checksum = "c936bfdafb507ebbf50b8074c54fa31c5be9a1e7e5f467dd659697041407d07c"
dependencies = [

@@ -349,7 +349,6 @@ "crc32fast",

name = "half"
version = "2.6.0"
version = "2.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "459196ed295495a68f7d7fe1d84f6c4b7ff0e21fe3017b2f283c6fac3ad803c9"
checksum = "02b4af3693f1b705df946e9fe5631932443781d0aabb423b62fcd4d73f6d2fd0"
dependencies = [
"cfg-if",
"crunchy",

@@ -365,8 +364,2 @@ ]

[[package]]
name = "hashbrown"
version = "0.14.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
[[package]]
name = "hermit-abi"

@@ -387,3 +380,3 @@ version = "0.1.19"

"autocfg",
"hashbrown 0.12.3",
"hashbrown",
]

@@ -489,5 +482,5 @@

name = "once_cell"
version = "1.21.3"
version = "1.20.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
checksum = "945462a4b81e43c4e3ba96bd7b49d834c6f61198356aa858733bc4acf3cbe62e"

@@ -624,5 +617,5 @@ [[package]]

name = "regex"
version = "1.11.1"
version = "1.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b544ef1b4eac5dc2db33ea63606ae9ffcfac26c1416a2806ae0bf5f56b201191"
checksum = "89089e897c013b3deb627116ae56a6955a72b8bed395c9526af31c9fe528b484"
dependencies = [

@@ -637,5 +630,5 @@ "aho-corasick",

name = "regex-automata"
version = "0.4.9"
version = "0.3.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "809e8dc61f6de73b46c85f4c96486310fe304c434cfa43669d7b40f711150908"
checksum = "59b23e92ee4318893fa3fe3e6fb365258efbfe6ac6ab30f090cdcbb7aa37efa9"
dependencies = [

@@ -649,5 +642,5 @@ "aho-corasick",

name = "regex-syntax"
version = "0.8.5"
version = "0.7.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2b15c43186be67a4fd63bee50d0303afffcef381492ebe2c5d87f324e1b8815c"
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"

@@ -668,5 +661,5 @@ [[package]]

name = "rustix"
version = "1.0.5"
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d97817398dd4bb2e6da002002db259209759911da105da92bec29ccb12cf58bf"
checksum = "91b73dab8b4bf63c9dbf81b3d2d4ae6e54033e397c3051a3baac27f7e4e5607e"
dependencies = [

@@ -682,3 +675,3 @@ "bitflags 2.9.0",

name = "rustix"
version = "1.0.6"
version = "1.0.7"
dependencies = [

@@ -809,5 +802,5 @@ "bitflags 2.9.0",

name = "syn"
version = "2.0.100"
version = "2.0.101"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
checksum = "8ce2b7fc941b3a24138a0a7cf8e858bfc6a992e7978a068a5c760deb0ed43caf"
dependencies = [

@@ -828,3 +821,3 @@ "proc-macro2",

"once_cell",
"rustix 1.0.5",
"rustix 1.0.6",
"windows-sys",

@@ -835,5 +828,5 @@ ]

name = "textwrap"
version = "0.16.2"
version = "0.16.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c13547615a44dc9c452a8a534638acdf07120d4b6847c8178705da06306a3057"
checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"

@@ -840,0 +833,0 @@ [[package]]

@@ -16,3 +16,3 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO

name = "rustix"
version = "1.0.6"
version = "1.0.7"
authors = [

@@ -19,0 +19,0 @@ "Dan Gohman <dev@sunfishcode.online>",

@@ -125,2 +125,8 @@ //! `rustix` provides efficient memory-safe and [I/O-safe] wrappers to

#![allow(clippy::needless_lifetimes)]
// Until `unnecessary_transmutes` is recognized by our MSRV, don't warn about
// it being unrecognized.
#![allow(unknown_lints)]
// Until `cast_signed` and `cast_unsigned` are supported by our MSRV, don't
// warn about transmutes that could be changed to them.
#![allow(unnecessary_transmutes)]
// Redox and WASI have enough differences that it isn't worth precisely

@@ -127,0 +133,0 @@ // conditionalizing all the `use`s for them. Similar for if we don't have

@@ -44,3 +44,3 @@ //! The `Pid` type.

pub const fn from_raw(raw: RawPid) -> Option<Self> {
debug_assert!(raw > 0);
debug_assert!(raw >= 0);
match NonZeroI32::new(raw) {

@@ -119,2 +119,19 @@ Some(non_zero) => Some(Self(non_zero)),

}
#[test]
fn test_ctors() {
use std::num::NonZeroI32;
assert!(Pid::from_raw(0).is_none());
assert_eq!(
Pid::from_raw(77).unwrap().as_raw_nonzero(),
NonZeroI32::new(77).unwrap()
);
assert_eq!(Pid::as_raw(Pid::from_raw(77)), 77);
}
#[test]
fn test_specials() {
assert!(Pid::from_raw(1).unwrap().is_init());
assert_eq!(Pid::from_raw(1).unwrap(), Pid::INIT);
}
}

Sorry, the diff of this file is not supported yet