Skip to content

Commit d680a76

Browse files
chore(release): 0.2.1
Patch release. The 0.2.0 publish on crates.io shipped without the docs.rs fix, so the published crate's docs.rs page rendered empty. This release contains the docs.rs build fix (drop nightly `feature(doc_cfg)` and `doc(cfg(...))` annotations on stable docs.rs).
1 parent a9a6989 commit d680a76

2 files changed

Lines changed: 18 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
- Nothing yet.
1313

14+
## [0.2.1] — 2026-06-26
15+
16+
Patch release. No public API changes; only the docs.rs build is
17+
fixed so the published crate renders documentation correctly.
18+
19+
### Fixed
20+
21+
- docs.rs build: removed `#![cfg_attr(docsrs, feature(doc_cfg))]`
22+
and the `#[cfg_attr(docsrs, doc(cfg(...)))]` annotations on
23+
feature-gated modules and accessor methods. `doc(cfg(...))` and
24+
`feature(doc_cfg)` are nightly-only, so docs.rs (stable Rust) was
25+
crashing on the docs build and rendering an empty page.
26+
- `Cargo.toml`: dropped `rustdoc-args = ["--cfg", "docsrs", "-D",
27+
"warnings"]` from `[package.metadata.docs.rs]`. docs.rs sets
28+
`--cfg docsrs` automatically; the explicit injection activated
29+
the nightly feature gate.
30+
1431
## [0.2.0] — 2026-06-26
1532

1633
First **published** release to crates.io. Builds on the `0.1.0`

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bkash-rs"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55
rust-version = "1.75"
66
description = "Idiomatic async-first Rust client for the bKash Payment Gateway API."

0 commit comments

Comments
 (0)