From 7e8f49c3470fb07dd89b819692353d114cd3c632 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Sun, 6 Oct 2019 23:18:57 -0400 Subject: [PATCH] Move `aeronmd` back out of -sys. Clap/Ctrlc are still causing issues during static link. --- aeron_driver-sys/Cargo.toml | 4 ---- .../examples/aeronmd.rs => examples/aeronmd_sys.rs | 1 - 2 files changed, 5 deletions(-) rename aeron_driver-sys/examples/aeronmd.rs => examples/aeronmd_sys.rs (98%) diff --git a/aeron_driver-sys/Cargo.toml b/aeron_driver-sys/Cargo.toml index 44bf8ba..8aac0d8 100644 --- a/aeron_driver-sys/Cargo.toml +++ b/aeron_driver-sys/Cargo.toml @@ -13,9 +13,5 @@ bindgen = "0.51" cmake = "0.1" dunce = "1.0.0" -[dev-dependencies] -clap = "2.33" -ctrlc = "3.1" - [features] static = [] diff --git a/aeron_driver-sys/examples/aeronmd.rs b/examples/aeronmd_sys.rs similarity index 98% rename from aeron_driver-sys/examples/aeronmd.rs rename to examples/aeronmd_sys.rs index 9247fd5..a3dcb5f 100644 --- a/aeron_driver-sys/examples/aeronmd.rs +++ b/examples/aeronmd_sys.rs @@ -1,7 +1,6 @@ //! Media driver startup example based on //! [aeronmd.c](https://github.com/real-logic/aeron/blob/master/aeron-driver/src/main/c/aeronmd.c) //! This example demonstrates direct usage of the -sys bindings for the Media Driver API. -//! The main crate has a more Rust-idiomatic example usage. use aeron_driver_sys::*; use clap;