diff options
author | Lars Wirzenius <liw@liw.fi> | 2022-03-02 13:39:07 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2022-03-02 13:39:07 +0200 |
commit | 71d0352cc50a22e630ecdd4a862f884305df9307 (patch) | |
tree | 282817c3303b6052722bcde7328df93849422be4 | |
parent | 3b2615a3ef7b174d263aecc06d4d1259b6f9260d (diff) | |
download | test-deps-71d0352cc50a22e630ecdd4a862f884305df9307.tar.gz |
foomain
-rw-r--r-- | Cargo.lock | 14 | ||||
-rw-r--r-- | Cargo.toml | 3 | ||||
-rw-r--r-- | bar/Cargo.toml | 8 | ||||
-rw-r--r-- | bar/src/lib.rs | 1 | ||||
-rw-r--r-- | tests/foo.rs | 4 |
5 files changed, 30 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..8b4c22b --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,14 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "bar" +version = "0.1.0" + +[[package]] +name = "test-deps" +version = "0.1.0" +dependencies = [ + "bar", +] @@ -6,3 +6,6 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] + +[dev-dependencies] +bar = { path = "bar" } diff --git a/bar/Cargo.toml b/bar/Cargo.toml new file mode 100644 index 0000000..825efac --- /dev/null +++ b/bar/Cargo.toml @@ -0,0 +1,8 @@ +[package] +name = "bar" +version = "0.1.0" +edition = "2021" + +# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + +[dependencies] diff --git a/bar/src/lib.rs b/bar/src/lib.rs new file mode 100644 index 0000000..ee6dd86 --- /dev/null +++ b/bar/src/lib.rs @@ -0,0 +1 @@ +pub fn bar() {}
\ No newline at end of file diff --git a/tests/foo.rs b/tests/foo.rs new file mode 100644 index 0000000..ae37024 --- /dev/null +++ b/tests/foo.rs @@ -0,0 +1,4 @@ +#[test] +fn test() { + bar::bar(); +}
\ No newline at end of file |