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/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: '0'
CARGO_PROFILE_DEV_DEBUG: '0'
RUST_TOOLCHAIN_VERSION: "1.75.0"
RUST_TOOLCHAIN_VERSION: "1.77.0"
RUSTFLAGS: "-D warnings"
RUSTDOCFLAGS: "-D warnings"
RUST_LOG: "info"
Expand Down
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changelogs

Please see the relevant crate changelogs:

- [stackable-certs](./crates/stackable-certs/CHANGELOG.md)
- [stackable-operator-derive](./crates/stackable-operator-derive/CHANGELOG.md)
- [stackable-operator](./crates/stackable-operator/CHANGELOG.md)
- [stackable-webhook](./crates/stackable-webhook/CHANGELOG.md)
13 changes: 13 additions & 0 deletions crates/stackable-certs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]

### Changed

- Implement `PartialEq` for most _Snafu_ Error enums ([#757]).
- Update Rust to 1.77 ([#759])

[#757]: https://github.com/stackabletech/operator-rs/pull/757
[#759]: https://github.com/stackabletech/operator-rs/pull/759
11 changes: 11 additions & 0 deletions crates/stackable-operator-derive/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]

### Changed

- Update Rust to 1.77 ([#759])

[#759]: https://github.com/stackabletech/operator-rs/pull/759
21 changes: 1 addition & 20 deletions crates/stackable-operator-derive/src/fragment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use darling::{ast::Data, FromDeriveInput, FromField, FromMeta, FromVariant};
use proc_macro2::{Ident, TokenStream, TokenTree};
use quote::{format_ident, quote, ToTokens};
use syn::{
parse_quote, Attribute, DeriveInput, Expr, Generics, Meta, MetaList, Path, Type, Visibility,
parse_quote, Attribute, DeriveInput, Generics, Meta, MetaList, Path, Type, Visibility,
WherePredicate,
};

Expand Down Expand Up @@ -105,25 +105,6 @@ struct FragmentField {
attrs: Vec<Attribute>,
}

enum Default {
None,
FromDefaultTrait,
Expr(Box<Expr>),
}
impl FromMeta for Default {
fn from_none() -> Option<Self> {
Some(Self::None)
}

fn from_word() -> darling::Result<Self> {
Ok(Self::FromDefaultTrait)
}

fn from_value(value: &syn::Lit) -> darling::Result<Self> {
Expr::from_value(value).map(Box::new).map(Self::Expr)
}
}

pub fn derive(input: DeriveInput) -> TokenStream {
let FragmentInput {
ident,
Expand Down
2 changes: 2 additions & 0 deletions crates/stackable-operator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ All notable changes to this project will be documented in this file.
### Changed

- Implement `PartialEq` for most _Snafu_ Error enums ([#757]).
- Update Rust to 1.77 ([#759])

[#757]: https://github.com/stackabletech/operator-rs/pull/757
[#759]: https://github.com/stackabletech/operator-rs/pull/759

## [0.65.0] - 2024-03-25

Expand Down
13 changes: 13 additions & 0 deletions crates/stackable-webhook/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog

All notable changes to this project will be documented in this file.

## [Unreleased]

### Changed

- Implement `PartialEq` for most _Snafu_ Error enums ([#757]).
- Update Rust to 1.77 ([#759])

[#757]: https://github.com/stackabletech/operator-rs/pull/757
[#759]: https://github.com/stackabletech/operator-rs/pull/759
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.75.0"
channel = "1.77.0"