Skip to content

Commit

Permalink
release v0.22.1
Browse files Browse the repository at this point in the history
- fix docs. compilation.
- misc. docs updates.
  • Loading branch information
joseluis committed Jan 13, 2025
1 parent 914fe15 commit 03a462e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 11 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ resolver = "3"
[package]
name = "devela"
description = "A cohesive development layer."
version = "0.22.0"
version = "0.22.1"
edition = "2021"
rust-version = "1.84.0" # In sync with README.md & .github/workflows/check.yml
authors = ["José Luis Cruz <joseluis@andamira.net>"]
Expand All @@ -65,6 +65,7 @@ include = [
"/examples/data/bitfield.rs",
"/examples/data/id_seq.rs",
"/examples/num/niche.rs",
"/examples/work/coro_run.rs",
]
autoexamples = false
categories = ["development-tools", "rust-patterns", "no-std::no-alloc"]
Expand Down
5 changes: 5 additions & 0 deletions DOCS/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ The format is based on [Keep a Changelog], and this project adheres to

## [0.23.0-wip] *unreleased*

## [0.22.1] 2025-01-13

- fix docs compilation.


## [0.22.0] 2025-01-13

### Added
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# devela

[![Repository](https://flat.badgen.net/badge/github/v0.22.0/blue?icon=git)](https://github.com/andamira/devela)
[![Repository](https://flat.badgen.net/badge/github/v0.22.1/blue?icon=git)](https://github.com/andamira/devela)
[![Documentation ahead](https://flat.badgen.net/badge/docs/ahead*/blue)](https://andamira.github.io/libera/doc/devela/)
[![MSRV ahead 1.84.0](https://flat.badgen.net/badge/MSRV/1.84.0/blue)](https://releases.rs/docs/1.84.0/)
<br/>
Expand All @@ -25,8 +25,6 @@ Features are grouped into categories, enabling modular and orthogonal developmen

For a full list of features and their categories, see the [Features Documentation].

[Features Doucumentation]: https://andamira.github.io/libera/doc/devela/_info/features/index.html
<!-- WAIT: publish -->
[Features Documentation]: https://docs.rs/devela/latest/devela/_info/features/index.html


Expand Down
13 changes: 6 additions & 7 deletions src/_info/examples.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,23 @@
//!
//! These examples generate example structures for documentation purposes.
//
// NOTE: rustdoc doesn't detect changes in the examples, only in the library,
// so it's necessary to modify the library to rebuild the examples docs
// NOTE: rustdoc doesn't detect changes in the examples, but only in the library.
// So it's necessary to modify the library in order to rebuild the examples docs.

#![allow(unused)]

/* in-crate integrated examples */

#[cfg(feature = "_bit_u8")]
#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "_bit_u8")))]
#[path = "../../examples/data/bitfield.rs"]
pub mod bitfield;
#[cfg(all(feature = "bit", feature = "_bit_u8"))]
#[path = "../../examples/code/enumset.rs"]
pub mod enumset;

#[path = "../../examples/code/enumint.rs"]
pub mod enumint;

#[cfg(feature = "_bit_u8")]
#[cfg_attr(feature = "nightly_doc", doc(cfg(feature = "_bit_u8")))]
#[path = "../../examples/data/bitfield.rs"]
pub mod bitfield;
#[path = "../../examples/data/id_seq.rs"]
pub mod id_seq;

Expand Down

0 comments on commit 03a462e

Please sign in to comment.