diff --git a/Cargo.toml b/Cargo.toml index 3ed5350b..01888b49 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,6 +20,10 @@ travis-ci = { repository = "iliekturtles/uom" } coveralls = { repository = "iliekturtles/uom" } maintenance = { status = "actively-developed" } +[workspace] +members = ["testcrate"] +default-members = [".", "testcrate"] + [dependencies] num = "0.1" serde = { version = "1.0", optional = true, default-features = false } diff --git a/testcrate/Cargo.toml b/testcrate/Cargo.toml new file mode 100644 index 00000000..1571408e --- /dev/null +++ b/testcrate/Cargo.toml @@ -0,0 +1,19 @@ +[package] +name = "testcrate" +version = "0.1.0" +authors = ["Wim Looman "] + +[dependencies] +uom = { path = ".." } + +[[example]] +name = "base" +path = "../examples/base.rs" + +[[example]] +name = "mks" +path = "../examples/mks.rs" + +[[example]] +name = "si" +path = "../examples/si.rs"