Skip to content

Commit 1ad43e5

Browse files
Merge pull request #196 from ubnt-intrepid/workspace
enable workspace configuration
2 parents aa176b8 + 2c6b930 commit 1ad43e5

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ script:
1414
- if [ "$TRAVIS_RUST_VERSION" != "1.15.1" ]; then make travistest ; fi
1515
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then make bench ; fi
1616
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo build --no-default-features; cargo test --no-default-features; fi
17-
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo test --manifest-path crates/test_edition2018/Cargo.toml; fi
17+
- if [ "$TRAVIS_RUST_VERSION" == "nightly" ]; then cargo test -p test_edition2018; fi
1818

1919
env:
2020
global:

Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,8 @@ erased-serde = { version = "0.3", optional = true }
5050

5151
[package.metadata.docs.rs]
5252
features = ["std", "nested-values", "dynamic-keys"]
53+
54+
[workspace]
55+
members = [
56+
"crates/test_edition2018",
57+
]

crates/test_edition2018/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "test_edition2018"
33
version = "0.0.0"
4-
edition = "2018"
54
description = "A crate for testing 2018-style macro imports"
65
authors = ["Yusuke Sasaki <[email protected]>"]
76
publish = false
87

98
[lib]
109
path = "lib.rs"
1110
name = "test_edition2018"
11+
doc = false
1212

1313
[dependencies]
1414
slog = { path = "../.." }

crates/test_edition2018/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
extern crate slog;
2+
13
#[cfg(test)]
24
mod tests {
35
#[test]

0 commit comments

Comments
 (0)