Skip to content
Closed
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
4 changes: 2 additions & 2 deletions bytescale/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ keywords = ["byte", "utility", "human-readable", "format"]
categories = ["development-tools", "filesystem"]
repository = "https://github.com/lthiery/humanbyte"
license = "Apache-2.0"
edition = "2021"
rust-version = "1.65"
edition = "2024"
rust-version = "1.85"

[features]
default = ["std", "derive"]
Expand Down
2 changes: 1 addition & 1 deletion bytescale/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub use self::ByteScale as _doc_ByteScale;
#[cfg(test)]
mod tests {
use super::*;
use humanbyte::{Format, B, KB, MB};
use humanbyte::{B, Format, KB, MB};

#[test]
fn test_arithmetic_op() {
Expand Down
2 changes: 1 addition & 1 deletion humanbyte-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "humanbyte-derive"
version = "0.2.1-alpha.0"
edition = "2021"
edition = "2024"
authors = ["Louis Thiery <thiery.louis@gmail.com>"]
description = "A procedural macro for deriving human readable byte functions"
keywords = ["byte-size", "utility", "human-readable", "no_std"]
Expand Down
2 changes: 1 addition & 1 deletion humanbyte-derive/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use proc_macro::TokenStream;
use proc_macro2::Span;
use quote::quote;
use syn::{parse_macro_input, DeriveInput};
use syn::{DeriveInput, parse_macro_input};

#[proc_macro_derive(HumanByte)]
pub fn humanbyte(input: TokenStream) -> TokenStream {
Expand Down
2 changes: 1 addition & 1 deletion humanbyte/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "humanbyte"
version = "0.2.1-alpha.0"
edition = "2021"
edition = "2024"
authors = ["Louis Thiery <thiery.louis@gmail.com>"]
description = "A procedural macro for deriving human readable byte functions"
keywords = ["byte-size", "utility", "human-readable", "no_std"]
Expand Down
Loading