Skip to content
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

Add no_std support, by adding an std feature #281

Merged
merged 5 commits into from Sep 5, 2019

Commits on Aug 29, 2019

  1. Add no_std support, by adding an std feature

    I was really hopeful initially that this could be done without
    having an `std` feature, but it turns out that `bytes` has a bunch
    of special additional integration with `std::io` stuff, e.g.
    `std::io::Reader` and `std::io::IoSlice`.
    
    To make the library work as `no_std` we add an `std` feature which
    is on by default. When it is off, we compile as `no_std` and make
    parts of the API that require `std::io` conditional on the `std`
    feature.
    cbeck88 committed Aug 29, 2019
    Copy the full SHA
    aaa1083 View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2019

  1. Copy the full SHA
    2f3a5b0 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2019

  1. change no_std condition

    per @tarcieri request
    cbeck88 committed Sep 3, 2019
    Copy the full SHA
    ab9423b View commit details
    Browse the repository at this point in the history
  2. fixup previous

    cbeck88 committed Sep 3, 2019
    Copy the full SHA
    f14e87d View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2019

  1. Copy the full SHA
    3fd7fa8 View commit details
    Browse the repository at this point in the history