minip2p-platform 0.4.0

Portable clock, deadline, and entropy contracts for minip2p
Documentation
# 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 = "2024"
rust-version = "1.91"
name = "minip2p-platform"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Portable clock, deadline, and entropy contracts for minip2p"
homepage = "https://github.com/deepso7/minip2p"
readme = "README.md"
keywords = [
    "libp2p",
    "peer-to-peer",
    "p2p",
    "networking",
    "sans-io",
]
license = "MIT"
repository = "https://github.com/deepso7/minip2p"

[features]
default = ["std"]
std = [
    "thiserror/std",
    "dep:getrandom",
]

[lib]
name = "minip2p_platform"
path = "src/lib.rs"

[dependencies.getrandom]
version = "0.4.3"
optional = true
default-features = false

[dependencies.thiserror]
version = "2.0.18"
default-features = false

[lints.rust]
unsafe_code = "forbid"