1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- [workspace]
- members = [
- ".",
- "bench"
- ]
- [package]
- name = "thingbuf"
- version = "0.1.0"
- edition = "2021"
- # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
- [features]
- std = ["alloc"]
- alloc = []
- default = ["std"]
- [dependencies]
- pin-project = "1"
- [dev-dependencies]
- tokio = { version = "1.14.0", features = ["rt", "rt-multi-thread", "macros", "sync"] }
- # So that we can use `poll_fn` in tests.
- futures-util = { version = "0.3", default-features = false }
- [target.'cfg(loom)'.dev-dependencies]
- loom = { version = "0.5.4", features = ["checkpoint", "futures"] }
- tracing-subscriber = { version = "0.3", default-features = false, features = ["std", "fmt"] }
- tracing = { version = "0.1", default-features = false, features = ["std"] }
- # Custom profile for Loom tests: enable release optimizations so that the loom
- # tests are less slow, but don't disable debug assertions.
- [profile.loom]
- inherits = "test"
- lto = true
- opt-level = 3
- [patch.crates-io]
- loom = { git = "https://github.com/tokio-rs/loom", branch = "eliza/fix-double-panic-in-drop" }
- [package.metadata.docs.rs]
- all-features = true
- rustdoc-args = ["--cfg", "docsrs"]
|