Skip to content

Commit

Permalink
Moved from std::mpsc to crossbeam
Browse files Browse the repository at this point in the history
  • Loading branch information
obelisk committed Nov 2, 2021
1 parent 0b4420f commit beaef05
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "endpointsecurity"
version = "0.2.1"
version = "0.3.0"
authors = ["Mitchell Grenier <[email protected]>"]
edition = "2018"
description = "Nice (ish) bindings for the EndpointSecurity framework on macOS"
Expand All @@ -10,6 +10,7 @@ readme = "README.md"
homepage = "https://github.com/obelisk/endpointsecurity"

[dependencies]
crossbeam-channel = "0.5"
block = "0.1.6"
env_logger = "0.7.1"
libc = "0.2.0"
Expand Down
2 changes: 1 addition & 1 deletion examples/process_monitor.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[macro_use] extern crate log;

use endpointsecurity::*;
use std::sync::mpsc::channel;
use crossbeam_channel::unbounded as channel;

fn main() {
env_logger::init();
Expand Down
2 changes: 1 addition & 1 deletion examples/signal_intercept.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#[macro_use] extern crate log;

use endpointsecurity::*;
use std::sync::mpsc::channel;
use crossbeam_channel::unbounded as channel;

fn main() {
env_logger::init();
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ extern crate libc;

use std::collections::HashSet;
use std::fmt;
use std::sync::mpsc::Sender;
use crossbeam_channel::Sender;
use std::sync::{Arc, Mutex};

use serde::{Deserialize, Serialize};
Expand Down

0 comments on commit beaef05

Please sign in to comment.