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
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## v0.6.0 (2025-10-26)

- Introduce `#[cgp_impl]` to simplify provider trait implementation - [#174](https://github.com/contextgeneric/cgp/pull/174)
- Allow context types to delegate components directly - [#175](https://github.com/contextgeneric/cgp/pull/175)
- Introduce `#[cgp_inherit]` for inheriting from presets - [#176](https://github.com/contextgeneric/cgp/pull/176)
- Fix use of self inside default trait method implementation body - [#179](https://github.com/contextgeneric/cgp/pull/179)

## v0.5.0 (2025-10-11)

- Monadic computation support
Expand Down
46 changes: 23 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 19 additions & 19 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,22 @@ authors = ["Soares Chen <soares.chen@maybevoid.com>"]
keywords = ["cgp"]

[workspace.dependencies]
cgp = { version = "0.5.0", path = "./crates/cgp" }
cgp-core = { version = "0.5.0", path = "./crates/cgp-core" }
cgp-extra = { version = "0.5.0", path = "./crates/cgp-extra" }
cgp-async-macro = { version = "0.5.0", path = "./crates/cgp-async-macro" }
cgp-component = { version = "0.5.0", path = "./crates/cgp-component" }
cgp-macro = { version = "0.5.0", path = "./crates/cgp-macro" }
cgp-macro-lib = { version = "0.5.0", path = "./crates/cgp-macro-lib" }
cgp-type = { version = "0.5.0", path = "./crates/cgp-type" }
cgp-field = { version = "0.5.0", path = "./crates/cgp-field" }
cgp-field-extra = { version = "0.5.0", path = "./crates/cgp-field-extra" }
cgp-error = { version = "0.5.0", path = "./crates/cgp-error" }
cgp-error-extra = { version = "0.5.0", path = "./crates/cgp-error-extra" }
cgp-extra-macro = { version = "0.5.0", path = "./crates/cgp-extra-macro" }
cgp-extra-macro-lib = { version = "0.5.0", path = "./crates/cgp-extra-macro-lib" }
cgp-handler = { version = "0.5.0", path = "./crates/cgp-handler" }
cgp-monad = { version = "0.5.0", path = "./crates/cgp-monad" }
cgp-dispatch = { version = "0.5.0", path = "./crates/cgp-dispatch" }
cgp-run = { version = "0.5.0", path = "./crates/cgp-run" }
cgp-runtime = { version = "0.5.0", path = "./crates/cgp-runtime" }
cgp = { version = "0.6.0-beta", path = "./crates/cgp" }
cgp-core = { version = "0.6.0-beta", path = "./crates/cgp-core" }
cgp-extra = { version = "0.6.0-beta", path = "./crates/cgp-extra" }
cgp-async-macro = { version = "0.6.0-beta", path = "./crates/cgp-async-macro" }
cgp-component = { version = "0.6.0-beta", path = "./crates/cgp-component" }
cgp-macro = { version = "0.6.0-beta", path = "./crates/cgp-macro" }
cgp-macro-lib = { version = "0.6.0-beta", path = "./crates/cgp-macro-lib" }
cgp-type = { version = "0.6.0-beta", path = "./crates/cgp-type" }
cgp-field = { version = "0.6.0-beta", path = "./crates/cgp-field" }
cgp-field-extra = { version = "0.6.0-beta", path = "./crates/cgp-field-extra" }
cgp-error = { version = "0.6.0-beta", path = "./crates/cgp-error" }
cgp-error-extra = { version = "0.6.0-beta", path = "./crates/cgp-error-extra" }
cgp-extra-macro = { version = "0.6.0-beta", path = "./crates/cgp-extra-macro" }
cgp-extra-macro-lib = { version = "0.6.0-beta", path = "./crates/cgp-extra-macro-lib" }
cgp-handler = { version = "0.6.0-beta", path = "./crates/cgp-handler" }
cgp-monad = { version = "0.6.0-beta", path = "./crates/cgp-monad" }
cgp-dispatch = { version = "0.6.0-beta", path = "./crates/cgp-dispatch" }
cgp-run = { version = "0.6.0-beta", path = "./crates/cgp-run" }
cgp-runtime = { version = "0.6.0-beta", path = "./crates/cgp-runtime" }
2 changes: 1 addition & 1 deletion crates/cgp-async-macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ license = { workspace = true }
repository = { workspace = true }
authors = { workspace = true }
rust-version = { workspace = true }
version = "0.5.0"
version = "0.6.0-beta"
keywords = { workspace = true }
description = """
Context-generic programming async macros
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-component/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-component"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-core"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-dispatch/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-dispatch"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error-anyhow/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error-anyhow"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error-extra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error-extra"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error-eyre/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error-eyre"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error-std/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error-std"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-error"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-extra-macro-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-extra-macro-lib"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-extra-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-extra-macro"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-extra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-extra"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-field-extra/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-field-extra"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-field/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-field"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-field/src/traits/transform_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::impls::IsNothing;
use crate::traits::{HasFields, MapType, PartialData, UpdateField};
use crate::types::{Cons, Field, Nil};

/// Natural transformation from M1::Map<T> to M2::Map<T>
/// Natural transformation from `M1::Map<T>` to `M2::Map<T>`
pub trait TransformMap<M1: MapType, M2: MapType, T> {
fn transform_mapped(value: M1::Map<T>) -> M2::Map<T>;
}
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-handler/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-handler"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-macro-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-macro-lib"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/cgp-macro/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "cgp-macro"
version = "0.5.0"
version = "0.6.0-beta"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
Expand Down
Loading
Loading