stevenarella/src
iceiix de6cd2044e
Update to serde_json 1.0 (#6)
* Replace find() with get()

* Update for renamed as_string->as_str and as_boolean->as_bool

https://github.com/serde-rs/json/releases/tag/v0.8.0
Value::as_string() has been renamed to as_str() and Value::as_boolean() has been renamed to as_bool() to improve consistency
https://github.com/serde-rs/json/issues/126

* No serde_json::Value::I64/U64/F64 anymore, only Number

* Update from lookup() to pointer(), using JSON pointer syntax

https://github.com/iceiix/steven/pull/6#issuecomment-432472123

* Remove unused and removed ObjectBuilder import

* Use into_iter().collect() to convert BTreeMap to serde_json::Map

* Change parse_rules to accept serde_json::Map instead of BTreeMap

* Remove unused serde_json macro_use

* Update Cargo.lock
2018-10-23 18:47:21 -07:00
..
console Update to log 0.4.5 2018-09-30 16:36:00 -07:00
ecs Fixed another batch of clippy warnings 2016-09-15 15:15:52 +01:00
entity Fix warning: unnecessary parentheses around function argument, new in nightly-2018-02-15 2018-09-29 23:28:38 -07:00
gl Check glGetError() in rendering loop 2018-10-07 13:53:50 -07:00
model Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
nbt Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
protocol Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
render Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
screen Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
server Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
types Fixed another batch of clippy warnings 2016-09-15 15:15:52 +01:00
ui Update to rand 0.5.5 for https://github.com/iceiix/steven/issues/4 2018-09-30 19:05:20 -07:00
world Use std::time for 5ms light updates instead of time crate 2018-09-29 22:36:55 -07:00
auth.rs Separate the console and console vars. Removes the need to lock on the console to read vars 2016-04-21 11:40:50 +01:00
chunk_builder.rs Update to rand 0.5.5 for https://github.com/iceiix/steven/issues/4 2018-09-30 19:05:20 -07:00
format.rs Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
item.rs Clean up the protocol implementation to use generics instead of trait objects 2016-04-08 18:46:07 +01:00
macros.rs Base implementation for worlds/blocks 2016-03-18 22:24:30 +00:00
main.rs Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
resources.rs Update to serde_json 1.0 (#6) 2018-10-23 18:47:21 -07:00
settings.rs Separate the console and console vars. Removes the need to lock on the console to read vars 2016-04-21 11:40:50 +01:00