Skip to content

Update to bson 3 #35

@allan2

Description

@allan2

mongodb default feature flags are

mongodb = { version = "3.4", features = ["compat-3-0-0", "dns-resolver", "rustls-tls" ] }

It has bson3 support via

mongodb = { version = "3.4", default-features = false, features = ["compat-3-3-0", "bson-3", "dns-resolver", "rustls-tls" ] }

I have a branch ready. Some functions had to be renamed. For example, from_bson becomes deserialize_from_bson or desrialize_from_document.

I have a branch ready and will open a PR when bson 3 becomes default on mongodb.
https://github.com/allan2/mongodm-rs/tree/mongo-no-default-fts

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