diff options
Diffstat (limited to 'guide/src/chapter_00.md')
-rw-r--r-- | guide/src/chapter_00.md | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/guide/src/chapter_00.md b/guide/src/chapter_00.md index 10570cf4..fafa17f9 100644 --- a/guide/src/chapter_00.md +++ b/guide/src/chapter_00.md @@ -25,9 +25,16 @@ $ cd example Now add Sequoia to the `[dependencies]` section in `Cargo.toml`: ```toml -sequoia-openpgp = "0.3" +sequoia-openpgp = "*" ``` +Note: Explicitly stating a major version for dependencies is usually +better than just using the wildcard here (read how to [specify +dependencies]). Also, please check that the crate's version matches +the version of this guide. + +[specify dependencies]: https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html + If you want to use the bleeding edge, you can instead refer to the version in git: @@ -67,10 +74,7 @@ Running the application now prints a friendly message to stdout. A word on the `armored` macro. We will use this macro in this guide to inline OpenPGP data into the source code. Sequoia includes filters for ASCII armored data. You can use these filters to read armored -data from any `Read`er, or write armored data to any `Write`r. The -`armored` macro does the same for string literals. In order to use -this macro, you need to use `#[macro_use]` when importing the -`openpgp` crate. +data from any `Read`er, or write armored data to any `Write`r. # Building the Sequoia tool |