[dependencies] async-trait = {version = "0.1", optional = true} axum = {version = "0.6", optional = true} bytes = {version = "1.5", optional = true} chrono = {version = "0.4", optional = true} mockall = {version = "0.11", optional = true} open = {version = "5.0", optional = true} serde_json = {version = "1.0", optional = true} tokio = {version = "1.32", features = ["process", "rt"], optional = true} tracing = "0.1" uuid = {version = "0.8", features = ["v4"], optional = true} [dev-dependencies] mockall = "0.11" reqwest = {version = "0.11", features = ["json"]} tokio = {version = "1.32", features = ["full"]} tokio-test = "0.4" [features] browser = ["dep:open"] clock = ["dep:chrono"] cmd = ["dep:async-trait", "dep:tokio"] full = ["browser", "clock", "cmd", "uuid"] http = ["dep:async-trait", "dep:axum", "dep:serde_json", "dep:tokio"] mock = ["dep:mockall"] uuid = ["dep:uuid"] [package] authors = ["Guillaume Leroy "] categories = ["development-tools::testing"] description = "Usefull components to make easier to mock your code" documentation = "https://docs.rs/mockable" edition = "2021" keywords = ["mock", "mockable", "mocking", "test"] license-file = "LICENSE" name = "mockable" version = "3.0.0" [package.metadata.docs.rs] all-features = true