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 .rust-toolchain/beta/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "beta-2026-11-14"
channel = "beta-2026-11-28"
2 changes: 1 addition & 1 deletion .rust-toolchain/nightly/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2026-11-17"
channel = "nightly-2026-12-01"
2 changes: 1 addition & 1 deletion .rust-toolchain/stable/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.99.1"
channel = "1.100.1"
2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@ version = "2.0.0-alpha.20261113"
edition = "2024"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/trifectatechfoundation/statime"
homepage = "https://github.com/trifectatechfoundation/statime"
readme = "./README.md"
description = "A full-featured time synchronization daemon, including NTP, NTS and CSPTP support."
publish = true
rust-version = "1.95" # MSRV
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.99.1"
channel = "1.100.1"
profile = "default"
4 changes: 0 additions & 4 deletions statime-base/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,3 @@ serde = ["std", "dep:serde"]
[dependencies]
libm.workspace = true
serde = { workspace = true, optional = true }

# Ignore unused libm, as it is needed for polyfilling when std is not used.
[package.metadata.cargo-udeps]
ignore = [["libm"]]
2 changes: 2 additions & 0 deletions statime-base/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
//! Base types and traits for time management.
#![no_std]

use libm as _;

mod algorithm;
mod clock;
mod identifiers;
Expand Down
3 changes: 3 additions & 0 deletions statime-config-derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ repository.workspace = true
publish.workspace = true
rust-version.workspace = true

[lints]
workspace = true

[lib]
proc-macro = true

Expand Down
8 changes: 4 additions & 4 deletions statime-config-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use syn::{
pub fn derive_configurable(input: TokenStream) -> TokenStream {
let input = parse_macro_input!(input as DeriveInput);

match expand(input) {
match expand(&input) {
Ok(tokens) => tokens.into(),
Err(error) => error.to_compile_error().into(),
}
Expand Down Expand Up @@ -57,10 +57,10 @@ struct Field {
default: Option<Expr>,
}

fn expand(input: DeriveInput) -> syn::Result<TokenStream2> {
fn expand(input: &DeriveInput) -> syn::Result<TokenStream2> {
match &input.data {
Data::Struct(data) => expand_struct(&input, data),
Data::Enum(data) => expand_enum(&input, data),
Data::Struct(data) => expand_struct(input, data),
Data::Enum(data) => expand_enum(input, data),
Data::Union(_) => Err(syn::Error::new(
input.span(),
"only structs and enums can be configurable",
Expand Down
2 changes: 2 additions & 0 deletions statime-config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ repository.workspace = true
publish.workspace = true
rust-version.workspace = true

[lints]

[dependencies]
statime-base.workspace = true
statime-config-derive.workspace = true
Expand Down
1 change: 0 additions & 1 deletion statime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ version.workspace = true
edition.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
publish.workspace = true
rust-version.workspace = true
build = "build.rs"
Expand Down
1 change: 1 addition & 0 deletions statime/src/daemon/spawn/ntp_pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ struct NtpPoolSpawnerState {
known_ips: Vec<SocketAddr>,
}

#[expect(clippy::empty_enums, reason = "MSRV does not support never type")]
#[derive(Debug)]
pub enum NtpPoolSpawnError {}

Expand Down
1 change: 0 additions & 1 deletion timestamped-socket/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ version = "0.4.0"
edition = "2021"
license.workspace = true
repository.workspace = true
homepage.workspace = true
publish.workspace = true
rust-version.workspace = true

Expand Down
Loading