From c43be61ad4caa76f99625d1a582ab6f6ca49b6e4 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Thu, 18 Jun 2020 20:23:03 +0100 Subject: [PATCH] README.md: Discourage `[packages]' slightly Signed-off-by: Ian Jackson --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index a496409..c7f3c75 100644 --- a/README.md +++ b/README.md @@ -82,13 +82,13 @@ can be a list of strings (`subdirs = ['myproject','mylibrary']`). In each of these directories `Cargo.toml` will be massaged, and the package there will be used for other massaged `Cargo.toml`s -`packages` is a mapping from package names to dictionaries (e.g. in -`Cargo.nail`, write something like: `[packages.mylibrary]` -`subdir='mylibrary-test'` or `[packages]` `mylibrary='mylibrary-test'`). -These override the locations for the specified packages (so you can, -for example, have multiple trees with the same package in). The -`subdir` values are also added to the list of directories where -`Cargo.toml` should be massaged. +For more complex cases: `packages` is a mapping from package names to +strings, or dictionaries (e.g. in `Cargo.nail`, write something like: +`[packages.mylibrary]` `subdir='mylibrary-test'` or `[packages]` +`mylibrary='mylibrary-test'`). These override the locations for the +specified packages (so you can, for example, have multiple trees with +the same package in). The `subdir` values are also added to the list +of directories where `Cargo.toml` should be massaged. Out-of-tree builds ================== -- 2.30.2