[package] name = "mongodb-gridfs" license = "MIT" version = "0.2.7" authors = ["Moïse Valvassori "] edition = "2018" description = "An implementation of Mongo GridFS" homepage = "https://github.com/djedi23/mongodb-gridfs-rs" repository = "https://github.com/djedi23/mongodb-gridfs-rs" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] mongodb = { version = "2", default-features=false } bson = {version= "2"} md-5 = "0.10" typed-builder = "0.18" futures = { version="0.3", optional=true} tokio = { version="1", optional=true} tokio-stream = { version="0.1", optional=true} [dev-dependencies] tempfile = "3.3" tokio = { version="1", features=["fs", "test-util"]} uuid = "1" [features] default = ["mongodb/default", "dep:tokio","dep:tokio-stream"] async-std-runtime = ["mongodb/async-std-runtime", "dep:futures"] tokio-runtime = ["mongodb/tokio-runtime", "dep:tokio","dep:tokio-stream"]