mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-11-08 17:47:05 +00:00
Add a single driver for tests and benchmarks
This commit is contained in:
1 parent
24ac61f9f2
commit
482f92af61
17 files changed
+60
-84
No files matched your search
@@ -1,15 +1,9 @@
|
||||
#![feature(custom_derive, plugin, test)]
|
||||
#![plugin(serde_macros)]
|
||||
|
||||
extern crate serde;
|
||||
extern crate rustc_serialize;
|
||||
extern crate test;
|
||||
|
||||
use std::collections::HashMap;
|
||||
use test::Bencher;
|
||||
|
||||
use rustc_serialize::{Decoder, Decodable};
|
||||
|
||||
use serde;
|
||||
use serde::de::{Deserializer, Deserialize};
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
@@ -34,8 +28,6 @@ pub struct Outer {
|
||||
pub enum Error {
|
||||
EndOfStream,
|
||||
SyntaxError,
|
||||
UnexpectedName,
|
||||
ConversionError,
|
||||
MissingField,
|
||||
OtherError,
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user