Skip to content

Handling strict parsing via a cargo feature is problematic #105

@sdroege

Description

@sdroege

Latest release added a strict cargo feature (disabled by default), which causes unknown features to end up as errors instead of being ignored.

This is problematic because mp4-atom might be pulled in (directly or indirectly) by multiple crates in the dependency tree, and if only one of them enables the feature then it's enabled for all usages. However some crates might depend on the cargo feature to be not enabled (e.g. to be able to handle random files as good as possible despite there being unknown boxes in it).

It would be better to make this a runtime decision at each place where the parser is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions