[package]
edition = "2024"
name = "moonpool-core"
version = "0.7.0"
authors = ["Pierre Zemb <contact@pierrezemb.fr>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core abstractions for the moonpool simulation framework"
documentation = "https://docs.rs/moonpool-core"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/PierreZ/moonpool"
resolver = "2"
[package.metadata.docs.rs]
rustdoc-args = [
"--cfg",
"tokio_unstable",
]
rustc-args = [
"--cfg",
"tokio_unstable",
]
[features]
default = ["tokio-providers"]
tokio-providers = [
"dep:tokio",
"dep:tokio-util",
"rand/thread_rng",
]
[lib]
name = "moonpool_core"
path = "src/lib.rs"
[dependencies.futures]
version = "0.3"
[dependencies.rand]
version = "0.10"
default-features = false
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1"
features = [
"fs",
"io-util",
"net",
"rt",
"time",
"tracing",
]
optional = true
[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
optional = true
[dependencies.tracing]
version = "0.1"
[dev-dependencies]
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
async_fn_in_trait = "allow"