1
0
mirror of https://github.com/bspeice/aeron-rs synced 2024-12-22 05:48:10 -05:00

Reversion and cleanup

Moving the `aeronmd` example to the sys crate caused issues for static
linking because of the `tempfile` crate.

Revert "Install luuid for Linux"
Revert "Fix some Cargo.toml issues"
Revert "More minor cleanup"
This commit is contained in:
Bradlee Speice 2019-10-03 00:47:06 -04:00
parent c5b227f328
commit 5527495b09
6 changed files with 6 additions and 12 deletions

View File

@ -6,11 +6,6 @@ os:
- osx - osx
- windows - windows
addons:
apt:
packages:
- uuid-dev
cache: cache:
- cargo - cargo

View File

@ -16,4 +16,6 @@ aeron_driver-sys = { path = "./aeron_driver-sys" }
memmap = "0.7" memmap = "0.7"
[dev-dependencies] [dev-dependencies]
clap = "2.33"
ctrlc = "3.1.3"
tempfile = "3.1" tempfile = "3.1"

View File

@ -15,8 +15,3 @@ dunce = "1.0.0"
[features] [features]
static = [] static = []
[dev-dependencies]
clap = "2.33"
ctrlc = "3.1.3"
tempfile = "3.1"

View File

@ -6,6 +6,8 @@ include!(concat!(env!("OUT_DIR"), "/bindings.rs"));
#[cfg(test)] #[cfg(test)]
mod tests { mod tests {
use crate::*;
use std::convert::TryInto;
#[test] #[test]
fn version_check() { fn version_check() {

View File

@ -60,7 +60,7 @@ pub struct MetaDataDefinition {
_pid: i64, _pid: i64,
} }
/// Version code for the Aeron CnC file format that this client is compatible with /// Version code for the Aeron CnC file format
pub const CNC_VERSION: i32 = crate::sematic_version_compose(0, 0, 16); pub const CNC_VERSION: i32 = crate::sematic_version_compose(0, 0, 16);
/// Filename for the CnC file located in the Aeron directory /// Filename for the CnC file located in the Aeron directory