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 Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "multi-trait"
version = "1.0.3"
version = "1.0.4"
edition = "2024"
rust-version = "1.85"
authors = ["Dave Grantham <dwg@linuxprogrammer.org>"]
Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Overview

The `multitrait` crate provides foundational traits for encoding and decoding multiformats types using unsigned varint encoding. This document outlines the security properties, threat model, and guarantees of this crate.
The `multi-trait` crate provides foundational traits for encoding and decoding multiformats types using unsigned varint encoding. This document outlines the security properties, threat model, and guarantees of this crate.

## Security Properties

Expand Down
2 changes: 1 addition & 1 deletion examples/basic.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
//! Basic encoding and decoding example
//!
//! This example demonstrates the core functionality of the multitrait crate:
//! This example demonstrates the core functionality of the multi-trait crate:
//! - Encoding values to bytes
#![allow(clippy::unreadable_literal)]
//! - Decoding bytes back to values
Expand Down
2 changes: 1 addition & 1 deletion examples/custom_type.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: Apache-2.0
//! Custom type implementation example
//!
//! This example demonstrates how to implement multitrait traits for your
//! This example demonstrates how to implement multi-trait traits for your
//! custom types, including:
#![allow(
clippy::items_after_statements,
Expand Down
4 changes: 2 additions & 2 deletions examples/error_handling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! Error handling example
//!
//! This example demonstrates proper error handling patterns when using
//! the multitrait crate, including:
//! the multi-trait crate, including:
//! - Handling decode errors
//! - Inspecting error sources
//! - Validating data with `EncodedBytes`
Expand Down Expand Up @@ -209,7 +209,7 @@ fn inspect_error_source() {
println!();
}

/// Helper function showing how to wrap multitrait errors in application-specific errors
/// Helper function showing how to wrap multi-trait errors in application-specific errors
#[allow(dead_code)]
mod application_errors {
use multi_trait::Error as MultitraitError;
Expand Down
6 changes: 3 additions & 3 deletions examples/no_std.rs
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
// SPDX-License-Identifier: Apache-2.0
//! `no_std` usage example
//!
//! This example demonstrates how to use the multitrait crate in a `no_std`
//! This example demonstrates how to use the multi-trait crate in a `no_std`
//! environment. While this example file runs with std (since examples require it),
#![allow(clippy::items_after_statements, clippy::unreadable_literal)]
//! it shows the patterns you would use in actual `no_std` code.
//!
//! To use multitrait in a `no_std` environment:
//! To use multi-trait in a `no_std` environment:
//!
//! 1. In your Cargo.toml:
//! ```toml
//! [dependencies]
//! multitrait = { version = "1.0", default-features = false }
//! multi-trait = { version = "1.0", default-features = false }
//! ```
//!
//! 2. In your code:
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@
//!
//! ```toml
//! [dependencies]
//! multitrait = { version = "1.0", default-features = false }
//! multi-trait = { version = "1.0", default-features = false }
//! ```
//!
//! ## Implementation Details
Expand Down
Loading