You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

zerofrom

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zerofrom - cargo Package Compare versions

Comparing version
0.1.3
to
0.1.4
+1
-1
.cargo_vcs_info.json
{
"git": {
"sha1": "e16ba527854ca0edc36695e4e65fdcbc4dccd188"
"sha1": "55cd12ebb25c6261492e1e3dfa2e6453c54dde31"
},
"path_in_vcs": "utils/zerofrom"
}

@@ -14,5 +14,5 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO

edition = "2021"
rust-version = "1.66"
rust-version = "1.67"
name = "zerofrom"
version = "0.1.3"
version = "0.1.4"
authors = ["Manish Goregaokar <manishsmail@gmail.com>"]

@@ -42,3 +42,3 @@ include = [

]
license-file = "LICENSE"
license = "Unicode-3.0"
repository = "https://github.com/unicode-org/icu4x"

@@ -53,3 +53,3 @@

[dependencies.zerofrom-derive]
version = "0.1.1"
version = "0.1.3"
optional = true

@@ -56,0 +56,0 @@ default-features = false

@@ -5,3 +5,3 @@ UNICODE LICENSE V3

Copyright © 2020-2023 Unicode, Inc.
Copyright © 2020-2024 Unicode, Inc.

@@ -42,2 +42,4 @@ NOTICE TO USER: Carefully read the following legal agreement. BY

SPDX-License-Identifier: Unicode-3.0

@@ -44,0 +46,0 @@

@@ -9,3 +9,3 @@ // This file is part of ICU4X. For terms of use, please see the file

// https://github.com/unicode-org/icu4x/blob/main/docs/process/boilerplate.md#library-annotations
// https://github.com/unicode-org/icu4x/blob/main/documents/process/boilerplate.md#library-annotations
#![cfg_attr(not(test), no_std)]

@@ -12,0 +12,0 @@ #![cfg_attr(

@@ -5,2 +5,4 @@ // This file is part of ICU4X. For terms of use, please see the file

use core::marker::PhantomData;
#[cfg(feature = "alloc")]

@@ -130,1 +132,7 @@ use alloc::borrow::{Cow, ToOwned};

}
impl<'zf, T: ?Sized + 'zf> ZeroFrom<'zf, PhantomData<T>> for PhantomData<T> {
fn zero_from(other: &'zf PhantomData<T>) -> Self {
*other
}
}

Sorry, the diff of this file is not supported yet