2023-04-22 04:38:47 -04:00
|
|
|
[package]
|
|
|
|
|
name = "std-shims"
|
2025-09-12 18:25:10 -04:00
|
|
|
version = "0.1.5"
|
2023-04-22 04:38:47 -04:00
|
|
|
description = "A series of std shims to make alloc more feasible"
|
|
|
|
|
license = "MIT"
|
|
|
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/common/std-shims"
|
|
|
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
|
|
|
keywords = ["nostd", "no_std", "alloc", "io"]
|
|
|
|
|
edition = "2021"
|
2025-08-26 14:04:39 -04:00
|
|
|
rust-version = "1.65"
|
2023-04-22 04:38:47 -04:00
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
all-features = true
|
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
|
2023-12-16 20:54:24 -05:00
|
|
|
[lints]
|
|
|
|
|
workspace = true
|
|
|
|
|
|
2023-04-22 04:38:47 -04:00
|
|
|
[dependencies]
|
2025-08-19 16:12:57 -04:00
|
|
|
rustversion = { version = "1", default-features = false }
|
2025-09-15 21:21:30 -04:00
|
|
|
spin = { version = "0.10", default-features = false, features = ["use_ticket_mutex", "fair_mutex", "once", "lazy"] }
|
|
|
|
|
hashbrown = { version = "0.16", default-features = false, features = ["default-hasher", "inline-more"], optional = true }
|
2023-04-22 04:38:47 -04:00
|
|
|
|
|
|
|
|
[features]
|
2025-09-15 21:21:30 -04:00
|
|
|
alloc = ["hashbrown"]
|
|
|
|
|
std = ["alloc", "spin/std"]
|
2023-04-22 04:38:47 -04:00
|
|
|
default = ["std"]
|