Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Publish 0.1.0 to crates.io #14

Open
haata opened this issue Mar 28, 2021 · 8 comments
Open

Publish 0.1.0 to crates.io #14

haata opened this issue Mar 28, 2021 · 8 comments

Comments

@haata
Copy link
Contributor

haata commented Mar 28, 2021

I'm trying to publish a crate dependent on this bincode-core.

The current api works well for my purposes (both x86_64 and arm-none-eabi).

@iamyulong
Copy link

iamyulong commented Jul 21, 2021

@VictorKoenders thank you for creating this library. Do you have any plan to publish it to crates.io?

@VictorKoenders
Copy link
Collaborator

No, work is being done on making bincode itself able to run on no_std targets

@haata
Copy link
Contributor Author

haata commented Sep 18, 2021

Excellent. It will be interesting to see how bincode will work without alloc (I need that for my project).

@haata
Copy link
Contributor Author

haata commented Oct 26, 2021

I see https://github.com/bincode-org/bincode/releases/tag/v2.0.0-alpha.0 !
I'll give it a try to see if it's stable enough to use instead of bincode-core.

@VictorKoenders
Copy link
Collaborator

Are you already using bincode-core? we're considering archiving this repo in favor of bincode 2.0-alpha

@haata
Copy link
Contributor Author

haata commented Oct 26, 2021

Yeah, I've been using bincode-core since Dec 2020 actually.
I really want to move to bincode 2.0-alpha asap though I'm still trying to figure out the differences.

The new derive bincode::Encode macros failed pretty hard for me (was eating up the doc comment above the struct...) so I'll likely need to do some things manually.

@VictorKoenders
Copy link
Collaborator

Could you open up an issue on the bincode repo with the derive issue? I figured that'd break pretty hard for some systems.

Implementing a manual Decode/Encode is pretty simple now, an example is in the std test: https://github.com/bincode-org/bincode/blob/trunk/tests/std.rs#L17-L42

@haata
Copy link
Contributor Author

haata commented Oct 26, 2021

Done, I've tried to isolate an enum and struct. It's not super clear what's going on without diving into the macros.

bincode-org/bincode#427

(also, feel free to close this topic and archive this git repo)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants