Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ jobs:
working-directory: www
- name: cd lib/v3 && cargo +nightly doc
env:
RUSTDOCFLAGS: --deny=warnings
RUSTDOCFLAGS: --deny=warnings --cfg=docsrs
run: cargo +nightly doc
working-directory: lib/v3
- name: cd lib && cargo +nightly doc
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
The MIT License (MIT)

Copyright (c) 2015-2020 Julien Cretin
Copyright (c) 2017-2020 Google Inc.
Copyright (c) 2015 Julien Cretin
Copyright (c) 2017 Google Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 6 additions & 0 deletions lib/v3/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 0.1.3-git

### Patch

- Use `doc_cfg` instead of `doc_auto_cfg`

## 0.1.2

### Patch
Expand Down
2 changes: 1 addition & 1 deletion lib/v3/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "data-encoding-v3"
version = "0.1.2"
version = "0.1.3-git"
license = "MIT"
edition = "2024"
rust-version = "1.85"
Expand Down
2 changes: 1 addition & 1 deletion lib/v3/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![doc = ""]
#![doc = include_str!("../README.md")]
#![no_std]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![cfg_attr(docsrs, feature(doc_cfg))]

#[cfg(feature = "alloc")]
extern crate alloc;
Expand Down
2 changes: 1 addition & 1 deletion xtask/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl Action {
&[&["--no-default-features", "--features=alloc"], &["--no-default-features"]];
}
}
if self.dir == Dir::Lib && self.task == Task::Doc {
if matches!(self.dir, Dir::LibV3 | Dir::Lib) && self.task == Task::Doc {
instructions.0[0].env[0].1.push_str(" --cfg=docsrs");
}
if self.dir == Dir::Nostd && self.task == Task::Test {
Expand Down
Loading