Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Finn Bear edited this pageMar 22, 2025 ·6 revisions

Introduction

Aserde integration is gated behind the"serde" feature flag. It is slower, producesslightly larger output, and (by extension) is not compatible with the nativebitcode::{Encode, Decode}.

Unsupported features

bitcode isn't self-describing, so it doesn't supportserde features that rely on self-description:

  • enum's with#[serde(untagged)] or#[serde(tag = ...)].
  • Fields with#[serde(skip_serializing_if = ...)],#[serde(default)], etc.
  • Types likeserde_json::Value, which internally serialize different types (numbers, arrays, etc.) without a normal enum discriminant.

Compatibility notes

  • Theserde version omits theflowinfo andscope_id fields ofstd::net::SocketAddrV6, but thederive versionkeeps them.
  • Theserde version supports recursive types, but thederive version (as of version0.6) does not.
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp