[package] name = "musty" version = "0.5.2" edition = "2021" authors = ["Alex Adewole ", "Jonah Seguin "] readme = "../README.md" repository = "https://github.com/tsanga/musty" license = "MIT" description = "An ODM for NoSQL databases like MongoDB" categories = ["database", "data-structures"] keywords = ["mongodb", "database", "bson", "odm", "nosql"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] mongodb = { version = "2", default-features = false, optional = true } bson = { version = "2", optional = true } serde = { version = "1", features = ["derive"] } async-trait = "0.1" thiserror = "1" musty-proc-macro = { path = "../musty-proc-macro", version = "0.3.0" } anyhow = "1" futures = "0.3" async-graphql = { version = "5", default-features = false, optional = true } [dev-dependencies] tokio = { version = "1" } serde_json = "1" [features] default = ["mongodb", "bson", "mongodb/tokio-runtime"] graphql = ["dep:async-graphql"] # docs.rs-specific configuration [package.metadata.docs.rs] # document all features all-features = true # defines the configuration attribute `docsrs` rustdoc-args = ["--cfg", "docsrs"]