New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make prost a no_std
compatible library, and prost-build able to gen…
#215
Commits on Sep 9, 2019
-
Make prost a
no_std
compatible library, and prost-build able to gen……erate `no_std` code The alternative is to get collections types from `core` and `alloc`. In the `no_std` mode in `prost_build`, we force it to always use BTreeMap since HashMap was not stabilized in `alloc::collections` library. The functionality is identical and the only incompatibilities in the interface are that we cannot use `std::error::Error` or `std::io::Error` in `no_std` mode because these types have not been moved to `alloc` and there is no alternative. This also uprevs `bytes` dependency to 0.5, and fixes up breakage after IntoBuf api is removed in `bytes` crate. Note that for now, we put a patch to `bytes` to pin to a specific commit in master, since bytes `0.5` is not released yet.
Configuration menu - View commit details
-
Copy full SHA for fc7a772 - Browse repository at this point
Copy the full SHA fc7a772View commit details
Commits on Sep 12, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cc51c9d - Browse repository at this point
Copy the full SHA cc51c9dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 28b9326 - Browse repository at this point
Copy the full SHA 28b9326View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01a500d - Browse repository at this point
Copy the full SHA 01a500dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 21b5866 - Browse repository at this point
Copy the full SHA 21b5866View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8e6d794 - Browse repository at this point
Copy the full SHA 8e6d794View commit details -
Use git dependencies for bytes, and use alt-failure crate in prost-de…
…rive as a workaround for feature-unification issues
Configuration menu - View commit details
-
Copy full SHA for e5d878c - Browse repository at this point
Copy the full SHA e5d878cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0804e3d - Browse repository at this point
Copy the full SHA 0804e3dView commit details
Commits on Sep 13, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 7b9beab - Browse repository at this point
Copy the full SHA 7b9beabView commit details
Commits on Dec 10, 2019
-
Configuration menu - View commit details
-
Copy full SHA for af60702 - Browse repository at this point
Copy the full SHA af60702View commit details
Commits on Feb 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for da06e9c - Browse repository at this point
Copy the full SHA da06e9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a14e694 - Browse repository at this point
Copy the full SHA a14e694View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9758c14 - Browse repository at this point
Copy the full SHA 9758c14View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d1e923 - Browse repository at this point
Copy the full SHA 4d1e923View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3015a6 - Browse repository at this point
Copy the full SHA e3015a6View commit details
Commits on Feb 27, 2020
-
Merge pull request #1 from dflemstr/no_std
Merge in 0.6.1 changes into no_std fork
Configuration menu - View commit details
-
Copy full SHA for af705d5 - Browse repository at this point
Copy the full SHA af705d5View commit details
Commits on Mar 2, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 3939650 - Browse repository at this point
Copy the full SHA 3939650View commit details -
Configuration menu - View commit details
-
Copy full SHA for d61beee - Browse repository at this point
Copy the full SHA d61beeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d77d5f - Browse repository at this point
Copy the full SHA 2d77d5fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64af573 - Browse repository at this point
Copy the full SHA 64af573View commit details -
Make prost-build not insert
, alloc
proc-macro attributesLeaves the "use_alloc_collections_lib" stuff because that helps people who don't want to write BTreeMap everywhere. But maybe it should go also, and they should have to do that.
Configuration menu - View commit details
-
Copy full SHA for fa0a5ed - Browse repository at this point
Copy the full SHA fa0a5edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51e4539 - Browse repository at this point
Copy the full SHA 51e4539View commit details
Commits on Mar 3, 2020
-
Remove "CollectionsLib" from prost-build, but leave "force_btree_map"
This option is helpful if someone needs to make the code-gen be no_std compatible, otherwise they have to enumerate all the btree types in their build.rs which is onerous
Configuration menu - View commit details
-
Copy full SHA for db72894 - Browse repository at this point
Copy the full SHA db72894View commit details -
Configuration menu - View commit details
-
Copy full SHA for abe2005 - Browse repository at this point
Copy the full SHA abe2005View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2a241d - Browse repository at this point
Copy the full SHA f2a241dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d7bf10 - Browse repository at this point
Copy the full SHA 4d7bf10View commit details -
Configuration menu - View commit details
-
Copy full SHA for 41e5bf7 - Browse repository at this point
Copy the full SHA 41e5bf7View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2bf500 - Browse repository at this point
Copy the full SHA f2bf500View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dab985 - Browse repository at this point
Copy the full SHA 4dab985View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f2ba49 - Browse repository at this point
Copy the full SHA 8f2ba49View commit details -
Configuration menu - View commit details
-
Copy full SHA for cc3574b - Browse repository at this point
Copy the full SHA cc3574bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5a7d00 - Browse repository at this point
Copy the full SHA f5a7d00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 490247d - Browse repository at this point
Copy the full SHA 490247dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a292b5 - Browse repository at this point
Copy the full SHA 7a292b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a0b294 - Browse repository at this point
Copy the full SHA 7a0b294View commit details -
Configuration menu - View commit details
-
Copy full SHA for 454a01d - Browse repository at this point
Copy the full SHA 454a01dView commit details
Commits on Mar 4, 2020
-
Remove leading :: in many prost-types and prost-build code generator
This allows simplifying tests a bit, removing unnecessary `extern crate alloc;`
Configuration menu - View commit details
-
Copy full SHA for 59d36dd - Browse repository at this point
Copy the full SHA 59d36ddView commit details
Commits on Mar 5, 2020
-
Do hidden re-export of alloc crate from prost, use in prost-build, pr…
…ost-derive This allows to remove `extern crate alloc;` from `protobuf` crate, and I think it means that users who don't care about `no_std` don't have to write `extern crate alloc;` to use prost
Configuration menu - View commit details
-
Copy full SHA for 4e19053 - Browse repository at this point
Copy the full SHA 4e19053View commit details