qubit-codec 0.16.0

Core codec traits and buffer conversion primitives for Rust
Documentation
// =============================================================================
//    Copyright (c) 2026 Haixing Hu.
//
//    SPDX-License-Identifier: Apache-2.0
//
//    Licensed under the Apache License, Version 2.0.
// =============================================================================
//! Inventory factory for string-codec registrations.

use inventory::collect;

use crate::ValueStringCodecRegistration;

/// Factory submitted by
/// [`register_value_string_codec!`](crate::register_value_string_codec).
#[doc(hidden)]
pub struct ValueStringCodecRegistrationFactory(
    /// Creates one owned registration when the inventory is assembled.
    pub fn() -> ValueStringCodecRegistration,
);

collect!(ValueStringCodecRegistrationFactory);