Alex Crichton
af2c45147d
Update rand dependency
2016-01-09 10:25:23 -08:00
Alex Crichton
67138b6c8e
Update deps of serde-tests
2015-12-18 16:37:04 -08:00
Alex Crichton
12f39767a8
Bump to 0.1.25
2015-12-18 16:29:29 -08:00
Alex Crichton
39d77b6d79
When decoding maps, leave fields that weren't processed
...
Fixes an XXX
2015-12-18 16:29:07 -08:00
Alex Crichton
4987b47a92
Update serde-tests lockfile
2015-12-15 10:10:31 -08:00
Alex Crichton
0c4c78d68c
Update travis syntax
2015-12-15 10:02:35 -08:00
Alex Crichton
92b2ff1056
Merge pull request #79 from silvo38/master
...
Remove floats from the Decoder.toml field when they get parsed
2015-12-15 10:01:15 -08:00
Cameron Silvestrini
caa4615536
Fixed bug: floats always end up in Decoder.toml, even when they have
...
been successfully decoded.
2015-12-15 22:43:24 +11:00
Alex Crichton
bfbeea6b44
Bump to 0.1.24
2015-12-10 06:07:56 -08:00
Alex Crichton
1723654a08
Don't run serde tests on 1.0.0
2015-11-29 15:01:34 -08:00
Alex Crichton
6188b884fd
Update dependencies
2015-11-29 14:52:35 -08:00
Alex Crichton
df23a34b8b
Update toml in serde Cargo.lock
2015-10-07 10:23:13 -07:00
Alex Crichton
b5af93a08e
Bump to 0.1.23
2015-10-07 09:50:59 -07:00
Alex Crichton
67adf87dd4
Merge pull request #75 from andersforsgren/allow-toml-BOM
...
Allow BOM (Byte order mark) in toml
2015-10-07 09:50:44 -07:00
osboxes.org
dea8646b8b
Allow BOM (Byte order mark) in toml
2015-10-07 11:35:49 +02:00
Alex Crichton
96c6cd94ec
Merge pull request #74 from GuillaumeGomez/master
...
Add Clone derive on ParserError
2015-09-29 17:31:39 -07:00
Guillaume Gomez
db75e532e5
Add Clone derive on ParserError
2015-09-30 00:00:17 +02:00
Alex Crichton
283abf4a94
Merge pull request #73 from kerhong/travisci-stable
...
Add stable Rust build to Travis-CI config
2015-09-25 10:42:37 -07:00
Alex Crichton
24b022b485
Merge pull request #72 from kerhong/master
...
Implement Value::lookup for empty path to return self
2015-09-25 10:42:24 -07:00
Kerhong
c17bb0fdac
Add stable Rust build to Travis-CI config
2015-09-25 19:47:18 +03:00
Kerhong
547e202c15
Implement Value::lookup for empty path to return self
2015-09-25 19:26:47 +03:00
Alex Crichton
bb12015a8a
Protect against syntex upgrades
...
Check in a lock file for the serde-tests portion of the tests
2015-09-23 10:09:49 -07:00
Alex Crichton
181fc3849a
Bump syntex dep for tests
2015-08-31 13:45:01 -07:00
Alex Crichton
64e64f0da7
Merge pull request #70 from mseri/patch-1
...
Fixed typo
2015-08-29 09:59:42 -07:00
mseri
dc0aa5f6c4
Fixed typo
2015-08-29 12:47:21 +01:00
Alex Gulyás
64ae43a386
Fix the arithmetic overflow in Parser::to_linecol
...
This also changes the calculated line and column numbers. Without this
patch, if an error occurs at the end of a line, the returned line and
column numbers will point at the start of the next line.
After this patch, the line and column numbers will correctly point at
the end of the line where the actual parse error happened.
2015-08-14 14:54:32 +02:00
Alex Gulyás
0f0746396a
Add a very simple test for Parser::to_linecol.
...
This test shows that in some cases converting error offsets generated by
the parser to line and column numbers will panic ('arithmetic operation
overflowed') in debug mode, and return an incorrect column number in
release mode.
2015-08-14 14:39:59 +02:00
Alex Crichton
13513f95b6
Bump to 0.1.22
2015-08-13 09:56:51 -07:00
Alex Crichton
7ec4821bd7
Touch up some style in the decoder
2015-08-13 09:47:40 -07:00
Alex Crichton
f011b01051
Make serde-tests a standalone crate
2015-08-13 09:39:49 -07:00
Erick Tryzelaar
85cd6f3e6e
Rewrite the MapVisitor to add errors for a specific field
2015-08-13 08:25:56 -07:00
Erick Tryzelaar
8c33064c2c
Override the numeric hints to not deserialize ints into floats, and vice versa
2015-08-13 08:25:56 -07:00
Erick Tryzelaar
e5efc8801d
Add a Deserialize::visit_enum that tries to deserialize into each variant
...
This could be more efficiently done if serde communicated the
number of arguments in each variant in this function.
2015-08-13 08:25:56 -07:00
Erick Tryzelaar
b7b31bf9da
Implement Serialize::visit_newtype_{struct,variant}
...
These functions allow a serializer to not wrap a newtyped value
inside of a tuple or struct.
2015-08-13 07:42:06 -07:00
Erick Tryzelaar
bbc167cde9
Get serde feature compiling again
2015-08-12 23:01:49 -07:00
Erick Tryzelaar
4e0172a9a5
Merge remote-tracking branch 'remotes/origin/master' into serde
2015-08-12 22:15:58 -07:00
Alex Crichton
b70f6e53b2
Don't need to qualify String
2015-08-11 09:18:52 -07:00
Alex Crichton
fac884d032
Merge pull request #66 from roguePanda/serde
...
Implement Deserialize for Value
2015-08-10 08:44:44 -07:00
Ben Navetta
8a2282fecd
it helps to actually build with serde enabled
2015-08-06 23:33:39 -04:00
Ben Navetta
00337d088e
implement serde::Deserialize for Value
2015-08-06 23:30:08 -04:00
Alex Crichton
baf77e44c3
Add coverage badge
2015-07-10 15:10:57 -07:00
Alex Crichton
2683e19682
Upload docs only on nightly
2015-07-10 15:09:04 -07:00
Alex Crichton
5cf475fc40
Use travis-cargo for coverage + doc upload
2015-07-10 15:03:01 -07:00
Alex Crichton
c5119e743c
Bump to 0.1.21
2015-06-23 17:45:55 -07:00
Alex Crichton
89332806c5
Improve the error message in failing enums
2015-06-23 17:45:48 -07:00
Alex Crichton
27a70d4024
Name the fields of the custom table AST
2015-06-08 00:04:30 -07:00
Alex Crichton
00baf76107
Add a few more tests for redefining tables
2015-06-07 23:58:45 -07:00
Alex Crichton
88461157f2
Clean up more style
2015-06-07 23:57:50 -07:00
Alex Crichton
68924534e2
Use deref coercions
2015-06-07 23:48:32 -07:00
Alex Crichton
e96e25bec7
Add a toml to json example
2015-06-07 23:47:29 -07:00