Skip to content

Build fails with --no-default-features #19

Description

@chrysn

Both in the released and the latest main version, building without the default combinators feature fails:

$ cargo check --no-default-features
[...]
error[E0432]: unresolved imports `crate::decoder::is_any`, `crate::decoder::CBORDecoder`
  --> tps_minicbor/src/encode.rs:32:22
   |
32 | use crate::decoder::{is_any, CBORDecoder, SequenceBuffer};
   |                      ^^^^^^  ^^^^^^^^^^^ no `CBORDecoder` in `decoder`
   |                      |
   |                      no `is_any` in `decoder`

It's not a big practical issue (I depended on default-features=false more out of habit, and need combinators anyway), but it's weird given that apparently some effort was spent on keeping them optional, but then it's never tested.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions