Vulnerabilities | |||||
---|---|---|---|---|---|
Version | Suggest | Low | Medium | High | Critical |
1.0.177 | 0 | 0 | 0 | 0 | 0 |
1.0.176 | 0 | 0 | 0 | 0 | 0 |
1.0.175 | 0 | 0 | 0 | 0 | 0 |
1.0.174 | 0 | 0 | 0 | 0 | 0 |
1.0.173 | 0 | 0 | 0 | 0 | 0 |
1.0.172 | 0 | 0 | 0 | 0 | 0 |
1.0.171 | 0 | 0 | 0 | 0 | 0 |
1.0.170 | 0 | 0 | 0 | 0 | 0 |
1.0.169 | 0 | 0 | 0 | 0 | 0 |
1.0.168 | 0 | 0 | 0 | 0 | 0 |
1.0.167 | 0 | 0 | 0 | 0 | 0 |
1.0.166 | 0 | 0 | 0 | 0 | 0 |
1.0.165 | 0 | 0 | 0 | 0 | 0 |
1.0.164 | 0 | 0 | 0 | 0 | 0 |
1.0.163 | 0 | 0 | 0 | 0 | 0 |
1.0.162 | 0 | 0 | 0 | 0 | 0 |
1.0.161 | 0 | 0 | 0 | 0 | 0 |
1.0.160 | 0 | 0 | 0 | 0 | 0 |
1.0.159 | 0 | 0 | 0 | 0 | 0 |
1.0.158 | 0 | 0 | 0 | 0 | 0 |
1.0.157 | 0 | 0 | 0 | 0 | 0 |
1.0.156 | 0 | 0 | 0 | 0 | 0 |
1.0.155 | 0 | 0 | 0 | 0 | 0 |
1.0.154 | 0 | 0 | 0 | 0 | 0 |
1.0.153 | 0 | 0 | 0 | 0 | 0 |
1.0.152 | 0 | 0 | 0 | 0 | 0 |
1.0.151 | 0 | 0 | 0 | 0 | 0 |
1.0.150 | 0 | 0 | 0 | 0 | 0 |
1.0.149 | 0 | 0 | 0 | 0 | 0 |
1.0.148 | 0 | 0 | 0 | 0 | 0 |
1.0.147 | 0 | 0 | 0 | 0 | 0 |
1.0.146 | 0 | 0 | 0 | 0 | 0 |
1.0.145 | 0 | 0 | 0 | 0 | 0 |
1.0.144 | 0 | 0 | 0 | 0 | 0 |
1.0.143 | 0 | 0 | 0 | 0 | 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0 | 0 |
0.7.15 | 0 | 0 | 0 | 0 | 0 |
0.7.14 | 0 | 0 | 0 | 0 | 0 |
0.7.13 | 0 | 0 | 0 | 0 | 0 |
0.7.12 | 0 | 0 | 0 | 0 | 0 |
0.7.11 | 0 | 0 | 0 | 0 | 0 |
1.0.177 - This version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform
Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.
Apache-2.0 - Apache License 2.0This crate provides a convenient concise way to write unit tests for
implementations of Serialize
and Deserialize
.
The Serialize
impl for a value can be characterized by the sequence of
Serializer
calls that are made in the course of serializing the value, so
serde_test
provides a [Token
] abstraction which corresponds roughly to
Serializer
method calls. There is an [assert_ser_tokens
] function to test
that a value serializes to a particular sequence of method calls, an
[assert_de_tokens
] function to test that a value can be deserialized from a
particular sequence of method calls, and an [assert_tokens
] function to test
both directions. There are also functions to test expected failure conditions.
Here is an example from the linked-hash-map
crate.
use linked_hash_map::LinkedHashMap;
use serde_test::{assert_tokens, Token};
#[test]
fn test_ser_de_empty() {
let map = LinkedHashMap::<char, u32>::new();
assert_tokens(
&map,
&[
Token::Map { len: Some(0) },
Token::MapEnd,
],
);
}
#[test]
fn test_ser_de() {
let mut map = LinkedHashMap::new();
map.insert('b', 20);
map.insert('a', 10);
map.insert('c', 30);
assert_tokens(
&map,
&[
Token::Map { len: Some(3) },
Token::Char('b'),
Token::I32(20),
Token::Char('a'),
Token::I32(10),
Token::Char('c'),
Token::I32(30),
Token::MapEnd,
],
);
}