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

quote

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

quote - cargo Package Compare versions

Comparing version
1.0.38
to
1.0.39
+1
-1
.cargo_vcs_info.json
{
"git": {
"sha1": "0245506323a3616daa2ee41c6ad0b871e4d78ae4"
"sha1": "7d089f5d42c58bd194401c59f20a6ab689bc47ec"
},
"path_in_vcs": ""
}

@@ -1,2 +0,2 @@

/target
/target/
/Cargo.lock

@@ -13,11 +13,11 @@ # This file is automatically @generated by Cargo.

name = "equivalent"
version = "1.0.1"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
[[package]]
name = "glob"
version = "0.3.1"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
checksum = "a8d1add55171497b4705a648c6b583acafb01d58050a51727785f0b2c8e0a2b2"

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

name = "indexmap"
version = "2.7.0"
version = "2.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
checksum = "8c9c992b02b5b4c94ea26e32fe5bccb7aa7d9f390ab5c1221ff895bc7ea8b652"
dependencies = [

@@ -55,5 +55,5 @@ "equivalent",

name = "proc-macro2"
version = "1.0.92"
version = "1.0.94"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
dependencies = [

@@ -65,5 +65,5 @@ "unicode-ident",

name = "quote"
version = "1.0.37"
version = "1.0.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
checksum = "0e4dccaaaf89514f546c693ddc140f729f958c247918a13380cccc6078391acc"
dependencies = [

@@ -75,3 +75,3 @@ "proc-macro2",

name = "quote"
version = "1.0.38"
version = "1.0.39"
dependencies = [

@@ -85,17 +85,17 @@ "proc-macro2",

name = "rustversion"
version = "1.0.18"
version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
checksum = "f7c45b9784283f1b2e7fb61b42047c2fd678ef0960d4f6f1eba131594cc369d4"
[[package]]
name = "ryu"
version = "1.0.18"
version = "1.0.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f"
checksum = "6ea1a2d0a644769cc99faa24c3ad26b379b786fe7c36fd3c546254801650e6dd"
[[package]]
name = "serde"
version = "1.0.216"
version = "1.0.218"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b9781016e935a97e8beecf0c933758c97a5520d32930e460142b4cd80c6338e"
checksum = "e8dfc9d19bdbf6d17e22319da49161d5d0108e4188e8b680aef6299eed22df60"
dependencies = [

@@ -107,8 +107,8 @@ "serde_derive",

name = "serde_derive"
version = "1.0.216"
version = "1.0.218"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "46f859dbbf73865c6627ed570e78961cd3ac92407a2d117204c49232485da55e"
checksum = "f09503e191f4e797cb8aac08e9a4a4695c5edf6a2e70e376d961ddd5c969f82b"
dependencies = [
"proc-macro2",
"quote 1.0.37",
"quote 1.0.38",
"syn",

@@ -119,5 +119,5 @@ ]

name = "serde_json"
version = "1.0.134"
version = "1.0.139"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d00f4175c42ee48b15416f6193a959ba3a0d67fc699a0db9ad12df9f83991c7d"
checksum = "44f86c3acccc9c65b153fe1b85a3be07fe5515274ec9f0653b4a0875731c72a6"
dependencies = [

@@ -141,8 +141,8 @@ "itoa",

name = "syn"
version = "2.0.91"
version = "2.0.98"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d53cbcb5a243bd33b7858b1d7f4aca2153490815872d86d955d6ea29f743c035"
checksum = "36147f1a48ae0ec2b5b3bc5b537d267457555a10dc06f3dbc8cb11ba3006d3b1"
dependencies = [
"proc-macro2",
"quote 1.0.37",
"quote 1.0.38",
"unicode-ident",

@@ -153,5 +153,5 @@ ]

name = "target-triple"
version = "0.1.3"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42a4d50cdb458045afc8131fd91b64904da29548bcb63c7236e0844936c13078"
checksum = "1ac9aa371f599d22256307c24a9d748c041e548cbf599f35d890f9d365361790"

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

name = "toml"
version = "0.8.19"
version = "0.8.20"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e"
checksum = "cd87a5cdd6ffab733b2f74bc4fd7ee5fff6634124999ac278c35fc78c6120148"
dependencies = [

@@ -191,5 +191,5 @@ "serde",

name = "toml_edit"
version = "0.22.22"
version = "0.22.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5"
checksum = "17b4795ff5edd201c7cd6dca065ae59972ce77d1b80fa0a84d94950ece7d1474"
dependencies = [

@@ -205,5 +205,5 @@ "indexmap",

name = "trybuild"
version = "1.0.101"
version = "1.0.103"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8dcd332a5496c026f1e14b7f3d2b7bd98e509660c04239c58b0ba38a12daded4"
checksum = "b812699e0c4f813b872b373a4471717d9eb550da14b311058a4d9cf4173cbca6"
dependencies = [

@@ -222,5 +222,5 @@ "dissimilar",

name = "unicode-ident"
version = "1.0.14"
version = "1.0.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
checksum = "00e2473a93778eb0bad35909dff6a10d28e63f792f16ed15e404fca9d5eeedbe"

@@ -311,7 +311,7 @@ [[package]]

name = "winnow"
version = "0.6.20"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b"
checksum = "0e7f4ea97f6f78012141bcdb6a216b2609f0979ada50b20ca5b52dde2eac2bb1"
dependencies = [
"memchr",
]

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

name = "quote"
version = "1.0.38"
version = "1.0.39"
authors = ["David Tolnay <dtolnay@gmail.com>"]

@@ -37,3 +37,8 @@ build = false

[package.metadata.docs.rs]
rustdoc-args = ["--generate-link-to-definition"]
rustdoc-args = [
"--generate-link-to-definition",
"--extern-html-root-url=core=https://doc.rust-lang.org",
"--extern-html-root-url=alloc=https://doc.rust-lang.org",
"--extern-html-root-url=std=https://doc.rust-lang.org",
]
targets = ["x86_64-unknown-linux-gnu"]

@@ -48,3 +53,2 @@

path = "src/lib.rs"
doc-scrape-examples = false

@@ -51,0 +55,0 @@ [[test]]

@@ -29,3 +29,3 @@ /// Formatting macro for constructing `Ident`s.

/// * `IdentFragment` is only implemented for a limited set of types, such as
/// unsigned integers and strings.
/// unsigned integers and strings.
/// * [`Ident`] arguments will have their `r#` prefixes stripped, if present.

@@ -32,0 +32,0 @@ ///

@@ -12,4 +12,2 @@ //! [![github]](https://github.com/dtolnay/quote)&ensp;[![crates-io]](https://crates.io/crates/quote)&ensp;[![docs-rs]](https://docs.rs/quote)

//!
//! [`quote!`]: macro.quote.html
//!
//! Procedural macros in Rust receive a stream of tokens as input, execute

@@ -50,3 +48,2 @@ //! arbitrary Rust code to determine how to manipulate those tokens, and produce

//! [a]: https://serde.rs/
//! [`quote_spanned!`]: macro.quote_spanned.html
//!

@@ -97,5 +94,6 @@ //! ```

// Quote types in rustdoc of other crates get linked to here.
#![doc(html_root_url = "https://docs.rs/quote/1.0.38")]
#![doc(html_root_url = "https://docs.rs/quote/1.0.39")]
#![allow(
clippy::doc_markdown,
clippy::elidable_lifetime_names,
clippy::missing_errors_doc,

@@ -142,4 +140,2 @@ clippy::missing_panics_doc,

///
/// [`TokenStream`]: https://docs.rs/proc-macro2/1.0/proc_macro2/struct.TokenStream.html
///
/// <br>

@@ -156,3 +152,2 @@ ///

///
/// [`ToTokens`]: trait.ToTokens.html
/// [Syn]: https://github.com/dtolnay/syn

@@ -179,8 +174,6 @@ ///

///
/// [`Span::call_site()`]: https://docs.rs/proc-macro2/1.0/proc_macro2/struct.Span.html#method.call_site
/// [`Span::call_site()`]: proc_macro2::Span::call_site
///
/// A different span can be provided through the [`quote_spanned!`] macro.
///
/// [`quote_spanned!`]: macro.quote_spanned.html
///
/// <br>

@@ -206,4 +199,2 @@ ///

///
/// [`From`]: https://doc.rust-lang.org/std/convert/trait.From.html
///
/// <br>

@@ -556,3 +547,3 @@ ///

///
/// [`Span`]: https://docs.rs/proc-macro2/1.0/proc_macro2/struct.Span.html
/// [`Span`]: proc_macro2::Span
///

@@ -600,4 +591,2 @@ /// ```

///
/// [`Sync`]: https://doc.rust-lang.org/std/marker/trait.Sync.html
///
/// ```

@@ -604,0 +593,0 @@ /// # use quote::{quote_spanned, TokenStreamExt, ToTokens};

@@ -9,4 +9,2 @@ use super::TokenStreamExt;

/// Types that can be interpolated inside a `quote!` invocation.
///
/// [`quote!`]: macro.quote.html
pub trait ToTokens {

@@ -18,4 +16,2 @@ /// Write `self` to the given `TokenStream`.

///
/// [`TokenStreamExt`]: trait.TokenStreamExt.html
///
/// # Example

@@ -22,0 +18,0 @@ ///

Sorry, the diff of this file is not supported yet