Merge pull request #73 from appsignal/mongoc_1_22

Bump mongoc driver to 1.22.0
main
Thijs Cadier 2 years ago committed by GitHub
commit 8da4e45e01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,7 @@ serde_derive = "1.0"
[dependencies.mongoc-sys] [dependencies.mongoc-sys]
path = "mongoc-sys" path = "mongoc-sys"
version = "=1.17.5-1" version = "=1.22.0"
[dev-dependencies] [dev-dependencies]
chrono = "^0.4" chrono = "^0.4"

@ -1,6 +1,6 @@
[package] [package]
name = "mongoc-sys" name = "mongoc-sys"
version = "1.17.5-1" version = "1.22.0"
description = "Sys package with installer and bindings for mongoc" description = "Sys package with installer and bindings for mongoc"
authors = ["Thijs Cadier <thijs@appsignal.com>"] authors = ["Thijs Cadier <thijs@appsignal.com>"]
build = "build.rs" build = "build.rs"

@ -45,8 +45,7 @@ pub struct Database<'a> {
} }
impl<'a> Database<'a> { impl<'a> Database<'a> {
#[doc(ignore)] pub(crate) fn new(
pub fn new(
created_by: CreatedBy<'a>, created_by: CreatedBy<'a>,
inner: *mut bindings::mongoc_database_t inner: *mut bindings::mongoc_database_t
) -> Database<'a> { ) -> Database<'a> {

Loading…
Cancel
Save