From: Ian Jackson Date: Sun, 18 Apr 2021 18:26:14 +0000 (+0100) Subject: Cargo.toml: Prettify layout etc. X-Git-Tag: otter-0.5.0~17 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=51457968ec9fb1dfe912a214d4d4cd89fea0d548;p=otter.git Cargo.toml: Prettify layout etc. Signed-off-by: Ian Jackson --- diff --git a/Cargo.toml b/Cargo.toml index 626af412..b73dc033 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,6 +14,10 @@ edition="2018" [workspace] members=["wasm", "daemon", "wdriver", "apitest"] +[build-dependencies] +usvg="0.13" +bundle-sources="0.0.1" + [dependencies] @@ -71,9 +75,4 @@ strum = { version="0.20" , features=["derive" ] } slotmap = { git="https://github.com/ijackson/slotmap", branch="entry-return-stale-key", features=["serde"], } - -[build-dependencies] -usvg="0.13" -bundle-sources="0.0.1" - #fin. diff --git a/apitest/Cargo.toml b/apitest/Cargo.toml index 32b31055..5b83a237 100644 --- a/apitest/Cargo.toml +++ b/apitest/Cargo.toml @@ -1,9 +1,29 @@ +# Copyright 2020-2021 Ian Jackson and contributors to Otter +# SPDX-License-Identifier: AGPL-3.0-or-later +# There is NO WARRANTY. + +[package] +name="otter-api-tests" +version="0.0.1" + +authors=["Ian Jackson ", + "and the contributors to Otter"] +license="AGPL-3.0-or-later" +edition="2018" + +[lib] +name="otter_api_tests" +path="apitest.rs" [[bin]] name="at-otter" path="at-otter.rs" + [dependencies] + +otter.path=".." + ego-tree="0.6" fehler="1" humantime="2" @@ -11,30 +31,9 @@ num-traits="0.2" scraper="0.12" structopt="0.3" -[dependencies.otter] -path=".." - -[dependencies.reqwest] -version="0.11" -features=["blocking", "json", "stream"] - -[dependencies.serde] -version="1" -features=["derive", "rc"] - -[dependencies.strum] -version="0.20" -features=["derive"] +reqwest = { version="0.11" , features=["blocking","json","stream"] } +serde = { version="1" , features=["derive", "rc"] } +strum = { version="0.20" , features=["derive" ] } -[lib] -name="otter_api_tests" -path="apitest.rs" - -[package] -edition="2018" -license="AGPL-3.0-or-later" -name="otter-api-tests" -version="0.0.1" -authors=["Ian Jackson "] #fin. diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index b2f5e5fd..1053503e 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -1,27 +1,34 @@ +# Copyright 2020-2021 Ian Jackson and contributors to Otter +# SPDX-License-Identifier: AGPL-3.0-or-later +# There is NO WARRANTY. + +[package] +name="otter-wasm" +version="0.0.1" + +authors=["Ian Jackson ", + "and the contributors to Otter"] +license="AGPL-3.0-or-later" +edition="2018" + +[lib] +name="otter_wasm" +path="wasm.rs" +crate-type=["cdylib"] [build-dependencies] wasm-bindgen-cli="0.2" + [dependencies] + +otter-base.path="../base" + console_error_panic_hook="0.1" fehler="1" js-sys="0.3" -wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } wee_alloc="0.4" -[dependencies.otter-base] -path="../base" - -[lib] -name="otter_wasm" -path="wasm.rs" -crate-type=["cdylib"] - -[package] -edition="2018" -license="AGPL-3.0-or-later" -name="otter-wasm" -version="0.0.1" -authors=["Ian Jackson "] +wasm-bindgen = { version = "0.2", features = ["serde-serialize"] } #fin. diff --git a/wdriver/Cargo.toml b/wdriver/Cargo.toml index e13e906c..880c7285 100644 --- a/wdriver/Cargo.toml +++ b/wdriver/Cargo.toml @@ -1,9 +1,25 @@ +# Copyright 2020-2021 Ian Jackson and contributors to Otter +# SPDX-License-Identifier: AGPL-3.0-or-later +# There is NO WARRANTY. + +[package] +name="otter-webdriver-tests" +version="0.0.1" + +authors=["Ian Jackson ", + "and the contributors to Otter"] +license="AGPL-3.0-or-later" +edition="2018" [[bin]] name="wdriver" path="wdriver.rs" + [dependencies] + +otter-api-tests.path="../apitest" + fehler="1" ndarray="0.15" num-traits="0.2" @@ -11,22 +27,7 @@ structopt="0.3" thirtyfour_sync="0.23" x11rb="0.8" -[dependencies.otter-api-tests] -path="../apitest" - -[dependencies.serde] -version="1" -features=["derive", "rc"] - -[dependencies.strum] -version="0.20" -features=["derive"] - -[package] -edition="2018" -license="AGPL-3.0-or-later" -name="otter-webdriver-tests" -version="0.0.1" -authors=["Ian Jackson "] +serde = { version="1" , features=["derive", "rc"] } +strum = { version="0.20" , features=["derive" ] } #fin.