Skip to content

Commit 88c310b

Browse files
authored
Fix docs.rs build options (#1539)
1 parent b879689 commit 88c310b

File tree

5 files changed

+9
-5
lines changed

5 files changed

+9
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ include = ["src/", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
2121
# To build locally:
2222
# RUSTDOCFLAGS="--cfg docsrs -Zunstable-options --generate-link-to-definition" cargo +nightly doc --all --all-features --no-deps --open
2323
all-features = true
24-
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
24+
rustdoc-args = ["--generate-link-to-definition"]
2525

2626
[package.metadata.playground]
2727
features = ["small_rng", "serde"]

distr_test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ edition = "2021"
55
publish = false
66

77
[dev-dependencies]
8-
rand_distr = { path = "../rand_distr", version = "=0.5.0-beta.0", default-features = false, features = ["alloc"] }
8+
rand_distr = { path = "../rand_distr", version = "=0.5.0-beta.1", default-features = false, features = ["alloc"] }
99
rand = { path = "..", version = "=0.9.0-beta.0", features = ["small_rng"] }
1010
num-traits = "0.2.19"
1111
# Special functions for testing distributions

rand_core/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ rust-version = "1.63"
1919
# To build locally:
2020
# RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features --no-deps --open
2121
all-features = true
22-
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
22+
rustdoc-args = ["--generate-link-to-definition"]
2323

2424
[package.metadata.playground]
2525
all-features = true

rand_distr/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.5.0-beta.1] - 2024-11-27
8+
- Fix docs.rs build (#1539)
9+
710
## [0.5.0-beta.0] - 2024-11-25
811
This is a pre-release. To depend on this version, use `rand = "=0.9.0-beta.0"` to prevent automatic updates (which can be expected to include breaking changes).
912

rand_distr/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "rand_distr"
3-
version = "0.5.0-beta.0"
3+
version = "0.5.0-beta.1"
44
authors = ["The Rand Project Developers"]
55
license = "MIT OR Apache-2.0"
66
readme = "README.md"
@@ -17,7 +17,8 @@ rust-version = "1.63"
1717
include = ["/src", "LICENSE-*", "README.md", "CHANGELOG.md", "COPYRIGHT"]
1818

1919
[package.metadata.docs.rs]
20-
rustdoc-args = ["--cfg docsrs", "--generate-link-to-definition"]
20+
features = ["serde"]
21+
rustdoc-args = ["--generate-link-to-definition"]
2122

2223
[features]
2324
default = ["std"]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy