mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 17:11:02 +00:00
Deprecate serde_if_integer128 macro
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
// No longer used. Old versions of serde used this macro for supporting targets
|
|
||||||
// that did not yet have 128-bit integer support.
|
|
||||||
#[macro_export]
|
#[macro_export]
|
||||||
|
#[deprecated = "
|
||||||
|
This macro has no effect on any version of Serde released in the past 2 years.
|
||||||
|
It was used long ago in crates that needed to support Rustc older than 1.26.0,
|
||||||
|
or Emscripten targets older than 1.40.0, which did not yet have 128-bit integer
|
||||||
|
support. These days Serde requires a Rust compiler newer than that so 128-bit
|
||||||
|
integers are always supported.
|
||||||
|
"]
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
macro_rules! serde_if_integer128 {
|
macro_rules! serde_if_integer128 {
|
||||||
($($tt:tt)*) => {
|
($($tt:tt)*) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user