David Tolnay
004dcaec3b
Remove unused imports and needless borrows
2016-05-13 10:47:09 -07:00
Erick Tryzelaar
ec75f22396
feat(errors): Switch Error::custom to use Into<String>
2016-02-26 21:12:16 -08:00
Erick Tryzelaar
3e94bf2d13
fix(warnings): Fix clippy warnings
2016-02-23 20:38:06 -08:00
Erick Tryzelaar
118476b98b
feat(de): Rename de::Error trait methods
2016-02-23 20:21:07 -08:00
Erick Tryzelaar
49b0bfd257
feat(de): Remove dependency on the num
crate.
2016-02-21 21:22:58 -08:00
Erick Tryzelaar
42b8b6153e
Merge branch 'v0.6.x' into master
...
# Conflicts:
# serde/Cargo.toml
# serde/src/ser/impls.rs
# serde_codegen/src/attr.rs
# serde_codegen/src/de.rs
# serde_codegen/src/field.rs
# serde_codegen/src/ser.rs
2016-01-18 12:45:39 -08:00
Erick Tryzelaar
bfa2b69193
feat(clippy): Use clippy for it's extra lints
2016-01-18 12:24:03 -08:00
Erick Tryzelaar
e1a44293c0
Merge pull request #162 from skade/std-error
...
Have serde:🇩🇪 :Error require std::error::Error
2015-12-08 14:10:45 -05:00
Oliver Schneider
51912e6197
test( #151 ): update tests and benchmarks: visit -> (de)serialize
2015-10-20 09:30:15 +02:00
Erick Tryzelaar
bf31feebc4
chore(cleanup): Fix some warnings
2015-10-19 08:37:22 -07:00
Florian Gilcher
fc19895237
Have serde: 🇩🇪 :Error require std::error::Error
2015-09-24 07:03:36 -07:00
Erick Tryzelaar
fa3460e0a7
Migrate serde_json into it's own repo
...
New location is https://github.com/serde-rs/json .
2015-08-29 18:09:51 -07:00
Erick Tryzelaar
4f6b27eec1
Black box json benchmark numbers
...
This prevents the optimizer from optimizing away the thing
we're benchmarking.
2015-08-13 22:30:02 -07:00
Erick Tryzelaar
fe20852b2c
Reject serializing maps to JSON with non-string keys
...
Closes #122 . This is a breaking change since it modifies the
return type of serde_json::to_vec{,pretty}, so it'll require a major
version bump of serde_json.
2015-08-13 22:29:13 -07:00
Erick Tryzelaar
7fb2bd50bf
Add a string argument to Error::syntax()
2015-08-07 08:08:56 -07:00
Erick Tryzelaar
2aeb51ad51
Remove "_error" from de::Error::*_error
2015-08-07 07:53:22 -07:00
Erick Tryzelaar
6c9cebdcc3
Pass the variant fields and tuple lengths into visit_{enum,tuple,tuple_struct}
2015-07-30 06:45:21 -07:00
Erick Tryzelaar
8fa40fe7e1
Move json into it's own crate
...
Not everyone needs json, so no reason to force people to build
it.
2015-07-22 10:44:43 -07:00
Erick Tryzelaar
5dae700aec
Pass struct field names to deserializer
2015-07-22 10:44:42 -07:00
Erick Tryzelaar
10f23dddfe
Rename named_* to use {enum,struct,unit}_*
...
This better reflects how they're used.
2015-07-22 10:44:42 -07:00
Erick Tryzelaar
4d42cfea53
Fix warnings
2015-07-16 09:36:14 -04:00
Erick Tryzelaar
ff8c3b3d51
Initial support for syntex
2015-05-18 23:34:17 -07:00
Erick Tryzelaar
482f92af61
Add a single driver for tests and benchmarks
2015-05-18 22:47:36 -07:00
Erick Tryzelaar
9dd5f9dc7a
Restructure directories to prep for syntex
2015-05-18 22:47:35 -07:00