-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update serde dependency to 0.9.0 (#38)
* Update serde dependency to 0.9.0 This lets json-rpc build on stable (1.15) without needing serde_codegen * Update jsonrpc-tcp-server's serde_json dependency to 0.9 * Fix nit, move macro_use extern crate's next to eachother
- Loading branch information
Showing
14 changed files
with
104 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
//! JSON-RPC types | ||
pub mod error; | ||
pub mod id; | ||
pub mod params; | ||
pub mod request; | ||
pub mod response; | ||
pub mod version; | ||
|
||
#[cfg(feature = "serde_macros")] | ||
include!("mod.rs.in"); | ||
pub use serde_json::Value; | ||
pub use serde_json::value::to_value; | ||
|
||
#[cfg(not(feature = "serde_macros"))] | ||
include!(concat!(env!("OUT_DIR"), "/types.rs")); | ||
pub use self::error::{ErrorCode, Error}; | ||
pub use self::id::Id; | ||
pub use self::params::Params; | ||
pub use self::request::{Request, Call, MethodCall, Notification}; | ||
pub use self::response::{Output, Response, Success, Failure}; | ||
pub use self::version::Version; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.