rename conduit to conduwuit finally
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
c6bf8f5ea1
commit
0317cc8cc5
277 changed files with 559 additions and 551 deletions
|
@ -1,5 +1,5 @@
|
|||
[package]
|
||||
name = "conduit_core"
|
||||
name = "conduwuit_core"
|
||||
categories.workspace = true
|
||||
description.workspace = true
|
||||
edition.workspace = true
|
||||
|
@ -62,7 +62,7 @@ cargo_toml.workspace = true
|
|||
checked_ops.workspace = true
|
||||
chrono.workspace = true
|
||||
clap.workspace = true
|
||||
conduit-macros.workspace = true
|
||||
conduwuit-macros.workspace = true
|
||||
const-str.workspace = true
|
||||
ctor.workspace = true
|
||||
cyborgtime.workspace = true
|
||||
|
|
|
@ -8,7 +8,7 @@ use std::{
|
|||
path::PathBuf,
|
||||
};
|
||||
|
||||
use conduit_macros::config_example_generator;
|
||||
use conduwuit_macros::config_example_generator;
|
||||
use either::{
|
||||
Either,
|
||||
Either::{Left, Right},
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
use std::{any::Any, panic};
|
||||
|
||||
// Export debug proc_macros
|
||||
pub use conduit_macros::recursion_depth;
|
||||
pub use conduwuit_macros::recursion_depth;
|
||||
|
||||
// Export all of the ancillary tools from here as well.
|
||||
pub use crate::{result::DebugInspect, utils::debug::*};
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
use std::sync::OnceLock;
|
||||
|
||||
use cargo_toml::{DepsSet, Manifest};
|
||||
use conduit_macros::cargo_manifest;
|
||||
use conduwuit_macros::cargo_manifest;
|
||||
|
||||
use crate::Result;
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ pub mod room_version;
|
|||
pub mod rustc;
|
||||
pub mod version;
|
||||
|
||||
pub use conduit_macros::rustc_flags_capture;
|
||||
pub use conduwuit_macros::rustc_flags_capture;
|
||||
|
||||
pub const MODULE_ROOT: &str = const_str::split!(std::module_path!(), "::")[0];
|
||||
pub const CRATE_PREFIX: &str = const_str::split!(MODULE_ROOT, '_')[0];
|
||||
|
|
|
@ -21,11 +21,11 @@ pub use pdu::{Event, PduBuilder, PduCount, PduEvent, PduId, RawPduId};
|
|||
pub use server::Server;
|
||||
pub use utils::{ctor, dtor, implement, result, result::Result};
|
||||
|
||||
pub use crate as conduit_core;
|
||||
pub use crate as conduwuit_core;
|
||||
|
||||
rustc_flags_capture! {}
|
||||
|
||||
#[cfg(not(conduit_mods))]
|
||||
#[cfg(not(conduwuit_mods))]
|
||||
pub mod mods {
|
||||
#[macro_export]
|
||||
macro_rules! mod_ctor {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#![cfg(conduit_mods)]
|
||||
#![cfg(conduwuit_mods)]
|
||||
|
||||
pub(crate) use libloading::os::unix::{Library, Symbol};
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ impl Server {
|
|||
}
|
||||
|
||||
pub fn reload(&self) -> Result<()> {
|
||||
if cfg!(not(conduit_mods)) {
|
||||
if cfg!(not(conduwuit_mods)) {
|
||||
return Err!("Reloading not enabled");
|
||||
}
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ impl<T: fmt::Debug> fmt::Debug for TruncatedSlice<'_, T> {
|
|||
/// See [`TruncatedSlice`]. Useful for `#[instrument]`:
|
||||
///
|
||||
/// ```
|
||||
/// use conduit_core::utils::debug::slice_truncated;
|
||||
/// use conduwuit_core::utils::debug::slice_truncated;
|
||||
///
|
||||
/// #[tracing::instrument(fields(foos = slice_truncated(foos, 42)))]
|
||||
/// fn bar(foos: &[&str]);
|
||||
|
|
|
@ -19,7 +19,7 @@ pub mod sys;
|
|||
mod tests;
|
||||
pub mod time;
|
||||
|
||||
pub use ::conduit_macros::implement;
|
||||
pub use ::conduwuit_macros::implement;
|
||||
pub use ::ctor::{ctor, dtor};
|
||||
|
||||
pub use self::{
|
||||
|
|
|
@ -84,7 +84,7 @@ where
|
|||
|
||||
/// Find the common prefix from a collection of strings and return a slice
|
||||
/// ```
|
||||
/// use conduit_core::utils::string::common_prefix;
|
||||
/// use conduwiit_core::utils::string::common_prefix;
|
||||
/// let input = ["conduwuit", "conduit", "construct"];
|
||||
/// common_prefix(&input) == "con";
|
||||
/// ```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue