Support using without `alloc`
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- rust
- Domain
- embedded-iot
Research direction
Reproduce the issue with the shown Cargo.toml settings and inspect the Encoder and Decoder implementations that use Vec. Determine whether the crate can build without std and alloc, then define the required no_std/no_alloc behavior and verify it with a microcontroller-style build or focused tests.
Written by the indexing model from the issue text.
Description
I try this awesome library to create firmware for microcontrollers.
Because it supports no_std I expected it works but seems currently Encoder and Decoder implementations uses Vec type from std/alloc. I got the following errors:
error[E0412]: cannot find type `Vec` in this scope
I added dependency as follows:
[dependencies.bitcode]
version = "0.6"
default-features = false
features = ["derive"]
Is it possible to use this crate without std and alloc at all?
- Dominant language
- Rust
- Stars
- 671
- Forks
- 61
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from SoftbearStudios/bitcode
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
SoftbearStudios/bitcode#122 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
SoftbearStudios/bitcode#121 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
SoftbearStudios/bitcode#115 · 1 reaction ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
SoftbearStudios/bitcode#110 · 1 reaction ·
-
BUffer for serde? Open
SoftbearStudios/bitcode#102 · 1 comment · 1 assignee ·
All issues in SoftbearStudios/bitcode
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gitbutlerapp/gitbutler#15998 · 1 comment ·
-
bug triage:deciding
Difficulty 1/5 Under an hour Newbie friendliness 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100