Duration::from_mins needs it, and without the field cargo on an older toolchain fails on the edition instead of naming the version it wants.
29 lines
567 B
TOML
29 lines
567 B
TOML
[package]
|
|
name = "soulseek-rs-lib"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
homepage.workspace = true
|
|
description = "Library for Soulseek protocol implementation in Rust"
|
|
keywords = ["soulseek", "p2p", "protocol", "file-sharing"]
|
|
categories = ["network-programming"]
|
|
|
|
[lib]
|
|
name = "soulseek_rs"
|
|
path = "src/lib.rs"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
|
|
[target.'cfg(unix)'.dependencies]
|
|
libc = "0.2.189"
|
|
|
|
[[example]]
|
|
name = "stress"
|
|
test = true
|