mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 03:59:22 +00:00
05dc474cb3
If a crate has std set, it should enable std for all dependencies in order to let them properly select which algorithms to use. Some crates fallback to slower/worse algorithms on no-std. Also more aggressively sets default-features = false leading to a *10%* reduction in the amount of crates coordinator builds.
22 lines
675 B
TOML
22 lines
675 B
TOML
[package]
|
|
name = "std-shims"
|
|
version = "0.1.1"
|
|
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"
|
|
rust-version = "1.70"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
spin = { version = "0.9", default-features = false, features = ["use_ticket_mutex", "once"] }
|
|
hashbrown = { version = "0.14", default-features = false, features = ["ahash", "inline-more"] }
|
|
|
|
[features]
|
|
std = []
|
|
default = ["std"]
|