Registry / serialization / serde-str

serde-str

JSON →
library0.1.0rscratesunverified

A serde wrapper that serializes and deserializes types using their Display and FromStr implementations.

# Cargo.toml [dependencies] serde_str = "0.1.0"
INSTALL
IMPORT
SIG · SERDE-STR
S
serde-str
serializationrustv0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SerdeStr
use serde_str::SerdeStr;

Wrap a string and parse it using FromStr.

use serde_str::SerdeStr; let wrapped = SerdeStr::new("42"); let val: i32 = wrapped.parse().unwrap();
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
serde-str — cargo add serde-str · libregistry