Skip to content

Commit

Permalink
Merge pull request #205 from xrelkd/release/0.15.0
Browse files Browse the repository at this point in the history
feat(treewide): remove `mimalloc`
  • Loading branch information
xrelkd authored Dec 15, 2023
2 parents 7f77632 + 37f3a39 commit 8ac77fd
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 50 deletions.
23 changes: 0 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions clipcat-menu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ categories.workspace = true
keywords.workspace = true

[dependencies]
mimalloc = "0.1"

tracing = "0.1"
tracing-journald = "0.3"
tracing-subscriber = "0.3"
Expand Down
5 changes: 0 additions & 5 deletions clipcat-menu/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ mod config;
mod error;
mod finder;

use mimalloc::MiMalloc;

use self::cli::Cli;

#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;

fn main() {
if let Err(err) = Cli::default().run() {
eprintln!("Error: {err}");
Expand Down
2 changes: 0 additions & 2 deletions clipcat-notify/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ categories.workspace = true
keywords.workspace = true

[dependencies]
mimalloc = "0.1"

serde = { version = "1", features = ["derive"] }
serde_json = "1"

Expand Down
4 changes: 0 additions & 4 deletions clipcat-notify/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,13 @@ use std::{io::Write, sync::Arc};

use clap::{CommandFactory, Parser, Subcommand};
use clipcat_base::{ClipFilter, ClipboardKind};
use mimalloc::MiMalloc;
use serde::Serialize;
use snafu::ResultExt;
use time::OffsetDateTime;
use tokio::runtime::Runtime;

use self::error::Error;

#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;

#[derive(Parser)]
#[clap(name = clipcat_base::NOTIFY_PROGRAM_NAME, author, version, about, long_about = None)]
struct Cli {
Expand Down
2 changes: 0 additions & 2 deletions clipcatctl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ categories.workspace = true
keywords.workspace = true

[dependencies]
mimalloc = "0.1"

tracing = "0.1"
tracing-journald = "0.3"
tracing-subscriber = "0.3"
Expand Down
5 changes: 0 additions & 5 deletions clipcatctl/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@ mod cli;
mod config;
mod error;

use mimalloc::MiMalloc;

use self::cli::Cli;

#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;

fn main() {
match Cli::default().run() {
Ok(exit_code) => {
Expand Down
2 changes: 0 additions & 2 deletions clipcatd/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ categories.workspace = true
keywords.workspace = true

[dependencies]
mimalloc = "0.1"

tracing = "0.1"
tracing-journald = "0.3"
tracing-subscriber = "0.3"
Expand Down
5 changes: 0 additions & 5 deletions clipcatd/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,8 @@ mod config;
mod error;
mod pid_file;

use mimalloc::MiMalloc;

use self::{command::Cli, error::CommandError};

#[global_allocator]
static GLOBAL: MiMalloc = MiMalloc;

fn main() {
if let Err(err) = Cli::default().run() {
eprintln!("Error: {err}");
Expand Down

0 comments on commit 8ac77fd

Please sign in to comment.