mirror of
https://github.com/bspeice/aeron-rs
synced 2024-11-12 11:08:08 -05:00
Merge #8
8: Move to workspace builds r=bspeice a=bspeice Sharing `target/` dir between projects should dramatically improve build times. Co-authored-by: Bradlee Speice <bradlee@speice.io>
This commit is contained in:
commit
bd21db1981
14
.travis.yml
14
.travis.yml
@ -15,13 +15,21 @@ before_script:
|
||||
- rustup component add rustfmt
|
||||
|
||||
script:
|
||||
- cd aeron_driver-sys
|
||||
- cargo test --no-run
|
||||
- cargo test
|
||||
- cargo test --release --no-run
|
||||
- cargo test --release
|
||||
|
||||
- cd aeron_driver-sys/
|
||||
- cargo test --features "static"
|
||||
|
||||
- cd ..
|
||||
- cargo test
|
||||
- cargo test --release
|
||||
- cargo clippy --all
|
||||
- cargo fmt --all -- --check
|
||||
|
||||
branches:
|
||||
only:
|
||||
- master
|
||||
- staging
|
||||
- trying
|
||||
|
||||
|
27
Cargo.toml
27
Cargo.toml
@ -1,22 +1,5 @@
|
||||
[package]
|
||||
name = "aeron-rs"
|
||||
version = "0.1.0"
|
||||
authors = ["Bradlee Speice <bradlee@speice.io>"]
|
||||
edition = "2018"
|
||||
repository = "https://github.com/bspeice/aeron-rs"
|
||||
readme = "README.md"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[badges]
|
||||
travis-ci = { repository = "bspeice/aeron-rs", branch = "master" }
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[dependencies]
|
||||
aeron_driver-sys = { path = "./aeron_driver-sys" }
|
||||
memmap = "0.7"
|
||||
num = "0.2"
|
||||
|
||||
[dev-dependencies]
|
||||
clap = "2.33"
|
||||
ctrlc = "3.1.3"
|
||||
tempfile = "3.1"
|
||||
[workspace]
|
||||
members = [
|
||||
"aeron_driver-sys",
|
||||
"aeron-rs"
|
||||
]
|
||||
|
22
aeron-rs/Cargo.toml
Normal file
22
aeron-rs/Cargo.toml
Normal file
@ -0,0 +1,22 @@
|
||||
[package]
|
||||
name = "aeron-rs"
|
||||
version = "0.1.0"
|
||||
authors = ["Bradlee Speice <bradlee@speice.io>"]
|
||||
edition = "2018"
|
||||
repository = "https://github.com/bspeice/aeron-rs"
|
||||
readme = "README.md"
|
||||
license = "Apache-2.0"
|
||||
|
||||
[badges]
|
||||
travis-ci = { repository = "bspeice/aeron-rs", branch = "master" }
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[dependencies]
|
||||
aeron_driver-sys = { path = "../aeron_driver-sys" }
|
||||
memmap = "0.7"
|
||||
num = "0.2"
|
||||
|
||||
[dev-dependencies]
|
||||
clap = "2.33"
|
||||
ctrlc = "3.1.3"
|
||||
tempfile = "3.1"
|
Loading…
Reference in New Issue
Block a user