Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upWIP Implement nocopy support for bincode #150
Conversation
| @@ -14,8 +14,8 @@ description = "A binary serialization / deserialization strategy that uses Serde | |||
| [dependencies] | |||
| byteorder = "1.0.0" | |||
| num-traits = "0.1.32" | |||
| serde = { git = "https://github.com/serde-rs/serde", branch = "master" } | |||
| serde = "1.0.*" | |||
This comment has been minimized.
This comment has been minimized.
dtolnay
Apr 20, 2017
Collaborator
This disallows upgrading to 1.1.0 which is not a breaking change. I think this should say "1.0".
| @@ -8,6 +8,9 @@ use serde_crate::de::IntoDeserializer; | |||
| use serde_crate::de::Error as DeError; | |||
| use ::SizeLimit; | |||
| use super::{Result, Error, ErrorKind}; | |||
| use self::read::BincodeRead; | |||
|
|
|||
| pub(crate) mod read; | |||
This comment has been minimized.
This comment has been minimized.
dtolnay
Apr 20, 2017
Collaborator
pub(crate) doesn't work on stable yet so I would strongly discourage you from releasing with it.
This comment has been minimized.
This comment has been minimized.
TyOverby
Apr 20, 2017
Author
Collaborator
Ah yep, this was mainly added just to just so I wouldn't have to think about it when I was prototyping the new module structure. I'll add this to my list of TODOs at the PR description.
|
Other than that, and the checklist, I think that does it. Not so much code after all! |
|
@dtolnay Yeah, I was pretty surprised at how easy it was! (I think you helped out a lot with your initial 1.0 change though) |
| @@ -14,8 +14,8 @@ description = "A binary serialization / deserialization strategy that uses Serde | |||
| [dependencies] | |||
| byteorder = "1.0.0" | |||
| num-traits = "0.1.32" | |||
| serde = { git = "https://github.com/serde-rs/serde", branch = "master" } | |||
| serde = "1.*.*" | |||
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@dtolnay: I think this one is ready to merge in! |
| mod serde; | ||
| mod ser; | ||
| mod de; | ||
| pub mod internal; |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
TyOverby
Apr 21, 2017
Author
Collaborator
I renamed endian_choice to internal and kept it public. I'm debating if I should switch back to the old name though.
heartsucker
commented
May 7, 2017
|
Can you guys push this to crates.io? I'd like to be able to use this in my libs and not depend on git commits. |
|
@heartsucker pretty sure this is already published as 0.8.0 |
TyOverby commentedApr 20, 2017
•
edited
TODO: