Skip to content

Commit 3db914a

Browse files
Remove mentions of nostr-mls (marmot-protocol#177)
1 parent ada4b6b commit 3db914a

22 files changed

Lines changed: 38 additions & 38 deletions

File tree

crates/mdk-core/src/constant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Nostr MLS constants
1+
//! MDK constants
22
33
use openmls::extensions::ExtensionType;
44
use openmls_traits::types::Ciphersuite;

crates/mdk-core/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ use openmls::key_packages::errors::{KeyPackageNewError, KeyPackageVerifyError};
2323
use openmls::prelude::{MlsGroupStateError, ValidationError};
2424
use openmls_traits::types::CryptoError;
2525

26-
/// Nostr MLS error
26+
/// MDK error
2727
#[derive(Debug, PartialEq, thiserror::Error)]
2828
pub enum Error {
2929
/// Hex error

crates/mdk-core/src/groups.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Nostr MLS Group Management
1+
//! MDK groups
22
//!
33
//! This module provides functionality for managing MLS groups in Nostr:
44
//! - Group creation and configuration
@@ -7,7 +7,7 @@
77
//! - Group metadata handling
88
//! - Group secret management
99
//!
10-
//! Groups in Nostr MLS have both an MLS group ID and a Nostr group ID. The MLS group ID
10+
//! Groups in MDK have both an MLS group ID and a Nostr group ID. The MLS group ID
1111
//! is used internally by the MLS protocol, while the Nostr group ID is used for
1212
//! relay-based message routing and group discovery.
1313
@@ -380,7 +380,7 @@ where
380380
}
381381
}
382382

383-
/// Retrieves a Nostr MLS group by its MLS group ID
383+
/// Retrieves a MDK group by its MLS group ID
384384
///
385385
/// # Arguments
386386
///
@@ -397,7 +397,7 @@ where
397397
.map_err(|e| Error::Group(e.to_string()))
398398
}
399399

400-
/// Retrieves all Nostr MLS groups from storage
400+
/// Retrieves all MDK groups from storage
401401
///
402402
/// # Returns
403403
///

crates/mdk-core/src/key_packages.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Nostr MLS Key Packages
1+
//! MDK Key Packages
22
33
use mdk_storage_traits::MdkStorageProvider;
44
use mdk_storage_traits::mls_codec::JsonCodec;

crates/mdk-core/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -259,9 +259,9 @@ where
259259
}
260260
}
261261

262-
/// The main struct for the Nostr MLS implementation.
262+
/// The main struct for the MDK implementation.
263263
///
264-
/// This struct provides the core functionality for MLS operations in Nostr:
264+
/// This struct provides the core functionality for MLS operations in the Marmot protocol:
265265
/// - Group management (creation, updates, member management)
266266
/// - Message handling (encryption, decryption, processing)
267267
/// - Key management (key packages, welcome messages)
@@ -380,7 +380,7 @@ where
380380
.with_grease(&self.provider.crypto)
381381
}
382382

383-
/// Get nostr mls group's required capabilities extension
383+
/// Get the group's required capabilities extension
384384
#[inline]
385385
pub(crate) fn required_capabilities_extension(&self) -> Extension {
386386
Extension::RequiredCapabilities(RequiredCapabilitiesExtension::new(
@@ -406,7 +406,7 @@ where
406406
}
407407
}
408408

409-
/// Tests module for nostr-mls
409+
/// Tests module for mdk-core
410410
#[cfg(test)]
411411
pub mod tests {
412412
use mdk_memory_storage::MdkMemoryStorage;

crates/mdk-core/src/messages/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Nostr MLS Messages
1+
//! MDK messages
22
//!
33
//! This module provides functionality for creating, processing, and managing encrypted
44
//! messages in MLS groups. It handles:
@@ -7,7 +7,7 @@
77
//! - Message state tracking
88
//! - Integration with Nostr events
99
//!
10-
//! Messages in Nostr MLS are wrapped in Nostr events (kind:445) for relay transmission.
10+
//! Messages in MDK are wrapped in Nostr events (kind:445) for relay transmission.
1111
//! The message content is encrypted using both MLS group keys and NIP-44 encryption.
1212
//! Message state is tracked to handle processing status and failure scenarios.
1313

crates/mdk-core/src/prelude.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// === Core MDK Types ===
1818
/// MDK error type
1919
pub use crate::Error;
20-
/// The main MDK struct for Nostr MLS operations
20+
/// The main MDK struct for Marmot protocol operations
2121
pub use crate::MDK;
2222
/// MDK provider for OpenMLS integration
2323
pub use crate::MdkProvider;

crates/mdk-core/src/test_util.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Test utilities for the nostr-mls crate
1+
//! Test utilities for the mdk-core crate
22
//!
33
//! This module provides shared test utilities used across multiple test modules
44
//! to avoid code duplication and ensure consistency in test setup.

crates/mdk-core/src/welcomes.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Nostr MLS Welcomes
1+
//! MDK welcomes
22
33
use nostr::{EventId, Kind, Tag, TagKind, Timestamp, UnsignedEvent};
44
use openmls::prelude::*;

crates/mdk-memory-storage/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "mdk-memory-storage"
33
version = "0.5.1"
44
edition = "2024"
5-
description = "In-memory database for nostr-mls that implements the MdkStorageProvider Trait"
5+
description = "In-memory database for MDK that implements the MdkStorageProvider trait"
66
authors = ["Jeff Gardner <j@jeffg.me>", "Yuki Kishimoto <yukikishimoto@protonmail.com>", "MDK Developers"]
77
homepage.workspace = true
88
repository.workspace = true

0 commit comments

Comments
 (0)