mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 04:09:23 +00:00
Fix borks from the latest nightly
The `cargo doc` build started to fail with the rolling of `doc_auto_cfg` into `doc_cfg`, so now we don't build docs for deps (as we can't reasonably update `generic-array` at this time). `home` has been patched as we are able to, not as a direct requirement of this PR.
This commit is contained in:
16
patches/home/Cargo.toml
Normal file
16
patches/home/Cargo.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "home"
|
||||
version = "0.5.99"
|
||||
description = "Replacement for `home` which uses the `std` impl"
|
||||
license = "MIT"
|
||||
repository = "https://github.com/serai-dex/serai/tree/develop/patches/home"
|
||||
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
||||
keywords = []
|
||||
edition = "2024"
|
||||
rust-version = "1.85"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
||||
[workspace]
|
||||
1
patches/home/src/lib.rs
Normal file
1
patches/home/src/lib.rs
Normal file
@@ -0,0 +1 @@
|
||||
pub use std::env::home_dir;
|
||||
Reference in New Issue
Block a user