# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "unimock" version = "0.6.7" authors = ["Audun Halland "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A versatile and developer-friendly trait mocking library" readme = "README.md" keywords = [ "mocking", "mock", "testing", "test", ] categories = [ "development-tools", "development-tools::testing", "no-std", ] license = "MIT" repository = "https://github.com/audunhalland/unimock/" [package.metadata.docs.rs] features = [ "unstable-doc-cfg", "fragile", "mock-core", "mock-std", "mock-futures-io-0-3", "mock-tokio-1", "mock-embedded-hal-1", ] [lib] name = "unimock" path = "src/lib.rs" doctest = false [[test]] name = "it" path = "tests/it/main.rs" [[test]] name = "nightly" path = "tests/nightly/main.rs" [dependencies.embedded-hal-1] version = "1.0.0" optional = true package = "embedded-hal" [dependencies.fragile] version = "2.0.0" optional = true [dependencies.futures-io-0-3] version = "0.3.30" optional = true package = "futures-io" [dependencies.once_cell] version = "1.19.0" default-features = false [dependencies.polonius-the-crab] version = "0.4.1" [dependencies.pretty_assertions] version = "1.4.0" optional = true [dependencies.spin] version = "0.9.8" optional = true [dependencies.tokio-1] version = "1.36" optional = true default-features = false package = "tokio" [dependencies.unimock_macros] version = "0.6.7" [dev-dependencies.async-trait] version = "0.1" [dev-dependencies.critical-section] version = "1.1.2" features = ["std"] [dev-dependencies.rustversion] version = "1" [dev-dependencies.tokio-1] version = "1.36" features = ["full"] package = "tokio" [features] critical-section = ["once_cell/critical-section"] default = [ "std", "pretty-print", ] fragile = [ "std", "dep:fragile", ] mock-core = [] mock-embedded-hal-1 = [ "dep:embedded-hal-1", "mock-core", ] mock-futures-io-0-3 = [ "std", "dep:futures-io-0-3", ] mock-std = [ "std", "mock-core", ] mock-tokio-1 = [ "std", "dep:tokio-1", ] nightly-tests = [] pretty-print = ["dep:pretty_assertions"] spin-lock = ["dep:spin"] std = ["once_cell/std"] unstable-doc-cfg = []