Skip to content

RUST-1138 Missing bson-serde_with feature flag? #545

Closed
@SylvainMartel

Description

@SylvainMartel

Right now, it seems we cannot use serde_with::serde_as macro without adding the bson crate to cargo.toml, even though the documentation mentionned it shouldn't be necessary

Note that if you are using bson through the mongodb crate, you do not need to specify it in your Cargo.toml, since the mongodb crate already re-exports it.

I guess a bson-serde_with feature-flag should be added to the mongodb crate?

Metadata

Metadata

Assignees

No one assigned

    Labels

    tracked-in-jiraTicket filed in Mongo's Jira system

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions