Commit Graph

272 Commits

Author SHA1 Message Date
klensy f3332fb0da Use serde's `derive` feature instead of directly importing serde_derive 2022-05-05 09:33:51 +03:00
Eric Huss 268dbb099f Update to 0.4.18 2022-04-15 11:24:45 -07:00
Eric Huss 445529a68f Update to 0.4.17 2022-03-30 09:33:56 -07:00
Eric Huss adf6129769 Update to 0.4.16 2022-03-29 17:33:01 -07:00
Eric Huss 7c37dd5e85
Merge pull request #1731 from epage/clap3
Port mdBook to clap3
2022-03-28 12:34:17 -07:00
Ed Page 7934e06668 chore: Upgrade to clap3 2022-03-28 13:06:50 -05:00
Dylan DPC 917df6e97d update regex 2022-03-09 08:04:50 +01:00
David Tolnay c5c8f1a6d3
Update semver dev-dependency in nop-preprocessor example to 1.0 2022-01-23 00:01:10 -08:00
Guillaume Gomez 4206739492 Update pulldown-cmark version 2022-01-18 16:01:23 +01:00
klensy 526a0394b0 don't use additional features for pulldown-cmark 2022-01-06 20:35:13 +03:00
Eric Huss b0511f408d Update to 0.4.15 2022-01-04 10:18:39 -08:00
Guillaume Gomez ddb0d2396f Update pulldown-cmark version 2021-12-25 13:46:27 +01:00
Eric Huss dffcedf031 Update to 0.4.14 2021-11-27 10:10:51 -08:00
josh rotenberg 903469a45f update pulldown-cmark to 0.8.0 2021-10-13 20:27:00 -07:00
Eric Huss 3e91f9cd5d Update to 0.4.13 2021-10-03 15:15:21 -07:00
Eric Huss 0d887505af
Merge pull request #1607 from ISSOtm/preproc-order
Allow specifying preprocessor order
2021-10-03 14:22:15 -07:00
Johannes Stoelp ff4b8e7a8d switch from open to opener
By default, `opener` launches the subprocess without waiting for its
completion, compared to `open` which waits for its completion.

This is helpful in case the `watch` feature is enabled and one of the
following commands `watch | serve --open` is used. If this command would
open the browser, listening for changes would be blocked by the browser.
2021-09-26 12:33:09 -07:00
ISSOtm 9c34e602bd Allow specifying preprocessor order
Fixes #1172
2021-09-26 20:55:02 +02:00
Michael Howell 10d30a2dc0 Add CLI tests
Part of #1568
2021-09-26 11:29:35 -07:00
apogeeoak 3f9f681b9e Update open crate to latest version. 2021-09-06 15:52:43 -04:00
Eric Huss 5a077b9ff4 Update to 0.4.12 2021-08-02 08:19:34 -07:00
Eric Huss 87877a9dae Update to 0.4.11 2021-07-26 13:47:08 -07:00
josh rotenberg a79065b0d3 update warp and tokio versions 2021-07-25 19:14:40 -07:00
Eric Huss 15cae10ca8 Update to 0.4.10 2021-06-08 15:02:48 -07:00
Eric Huss 7ddc3df945
Merge pull request #1550 from sunng87/feature/hbs4
update handlebars to 4.0
2021-06-06 13:04:54 -07:00
Eric Huss d0bb830491 Update to 0.4.9 2021-06-01 18:50:29 -07:00
Ning Sun 1b584d1746
update handlebars to 4.0 2021-05-26 23:11:01 +08:00
Eric Huss 3db0c0b9a1
Merge pull request #1511 from joshrotenberg/example-semver
Use semver crate to validate version compatibility in nop-preprocessor example
2021-05-24 11:10:21 -07:00
Eric Huss 7e01cf9e18
Update to 0.4.8 (#1527) 2021-05-10 18:38:43 +02:00
josh rotenberg 5b7abf4714 add semver v0.11.0 for example 2021-04-26 08:08:53 -07:00
Eric Huss 7da38715c1 Update to 0.4.7 2021-02-22 14:56:44 -08:00
Fenhl f26116a491
Upgrade to shlex 1 (#1471) 2021-02-22 00:15:16 +01:00
Eric Huss 257374d76b Update to 0.4.6. 2021-01-14 17:27:54 -08:00
Tatsuya Kawano 218e200117
Fix a wrong version 0.4.4 in Cargo.toml (Should be 0.4.5) (#1435) 2021-01-07 14:56:21 +01:00
Eric Huss a76557a678 Release 0.4.4 2020-10-20 07:58:24 -07:00
Camelid b77942d3c8
Rename `book-example` to `guide` (#1336)
`book-example` is a bit of a strange name given that it's not just an
example.
2020-09-23 03:16:09 +02:00
Eric Huss 3155c63e88 Release 0.4.3 2020-09-08 08:06:05 -07:00
Eric Huss 9180dd1659 Release 0.4.2 2020-08-11 15:19:39 -07:00
Eric Huss 8f74804c70 Update changelog. 2020-07-03 08:52:46 -07:00
Igor Matuszewski 9eba9ed93a
Update select dependency to 0.5 (#1267)
This allows to prune some of the old transitive dependencies from the
dep tree. In particular, this gets rid of <1.0 syn and related crates.
2020-06-30 19:11:09 +02:00
Eric Huss 6c4c3448e3
Update dependencies. (#1211)
* Removed the itertools dependency

* Removed an unused feature flag

* Stubbed out a toml_query replacement

* Update dependencies.

* Bump env_logger.

* Use warp instead of iron for http server.

Iron does not appear to be maintained anymore. warp/hyper seems to be
reasonably maintained. Unfortunately this takes a few seconds more
to compile, but shouldn't be too bad.

One benefit is that there is no longer a need for a separate websocket
port, which makes it easier to run multiple servers at once.

* Update pulldown-cmark to 0.7

* Switch from error-chain to anyhow.

* Bump MSRV to 1.39.

* Update elasticlunr-rs.

Co-authored-by: Michael Bryan <michaelfbryan@gmail.com>
2020-05-20 23:32:00 +02:00
Eric Huss d1b484ff35 Start 0.4.0 release. 2020-04-20 09:44:18 -07:00
Eric Huss 8e673c96c2 Release 0.3.7 2020-04-03 12:55:41 -07:00
Eric Huss 6016e12b90 Release 0.3.6. 2020-03-19 12:43:22 -07:00
Ning Sun 1947f8ca65
Update handlebars to 3.0 2020-01-24 11:01:44 +08:00
Eric Huss 441a10bdd7 Release 0.3.5. 2019-11-11 13:36:13 -08:00
Eric Huss ac9c12334a Update pulldown-cmark in Cargo.toml to 0.6.1. 2019-11-11 13:26:16 -08:00
Marcus Klaas de Vries 2a3088422a Upgrade pulldown_cmark to 0.6.1 2019-11-11 20:25:38 +01:00
Eric Huss f2cb601c11 Release 0.3.4. 2019-10-29 09:58:11 -07:00
Steve Klabnik f79d5d4582 rust-lang-nursery -> rust-lang
Fixes #1080
2019-10-29 08:04:16 -05:00
Eric Huss d5535d1226 Release 0.3.3. 2019-10-26 12:16:23 -07:00
Eric Huss bfcddf2680 Release 0.3.2. 2019-10-21 11:41:39 -07:00
Kim Hå 8e8e53ae15 Added support for gitignore files. (#1044)
* Added support for gitignore files.
The watch command will now ignore files based on gitignore. This can be useful for when your editor creates cache or swap files.

* Ran cargo fmt.

* Made the code a bit tidier based on input from other Rust programmers.
Changed the type of the closure back to use PathBuf, not &PathBuf.
Reduced nesting.
2019-10-04 14:59:17 +02:00
Lzu Tao e62a9dba87 Bump ws 2019-09-21 09:23:30 +00:00
Lzu Tao 4a94b656cd Bump ammonia 2019-09-21 09:23:30 +00:00
Eric Huss 50d5917530 Release 0.3.1 2019-07-15 14:56:59 -07:00
Eric Huss b91e5c8807
Merge pull request #977 from sunng87/feature/handlebars-2.0
(feat) update handlebars to 2.0
2019-07-12 09:56:51 -07:00
Ning Sun 2d11eb05fe
(feat) update handlebars to 2.0 2019-07-13 00:11:05 +08:00
Eric Huss 4b569edadd Fix memory leak and warning (#967) 2019-07-01 17:49:57 +02:00
Eric Huss 1cd1151790 Release 0.3.0 2019-06-18 15:24:26 -07:00
Eric Huss 3cfed10098 Update to pulldown-cmark 0.5. (#898)
* Update to pulldown-cmark 0.4.1.

* Update to pulldown-cmark 0.5.2.

* Remove pulldown-cmark-to-cmark dependency.

Since it is not compatible with the new pulldown-cmark. This example isn't
directly usable, anyways, and I think the no-op example sufficiently shows how
to make a preprocessor.

* cargo fmt

* Fix example link.
2019-06-11 18:26:24 +02:00
Eric Huss 43ead86ecc Update toml. (#945)
Just keeping up-to-date.
2019-05-31 18:00:15 +02:00
Lzu Tao 8dce00d54d Cargo.toml: Sort dependencies fields 2019-05-30 22:23:42 +07:00
lzutao 71281bff10 Update some updatable dependencies (#934)
* Update ammonia dependency

* Update env_logger

* Update itertools

* Update ws dep

* Update pretty_assertions dep
2019-05-26 14:05:42 +02:00
lzutao 8542f7f29d Transition to 2018 edition (#933)
* Transition to 2018 edition

* Update Travis CI badge in README

* Remove non-idiomatic `extern crate` lines
2019-05-25 20:50:41 +02:00
Lzu Tao 4560bdeb47 Update Cargo.lock 2019-05-06 00:12:53 +07:00
Dylan DPC 1a4f38eace
Merge pull request #903 from FreeMasen/master
remove walkdir from lib via handlebars
2019-04-28 22:19:30 +02:00
rfm 1d3f83eede remove walkdir from lib via handlebars 2019-04-28 12:54:01 -05:00
Dylan DPC 88d2f69138
Merge pull request #860 from k-nasa/fix_duplication
Fix duplication with Cargo.toml
2019-04-22 12:31:50 +02:00
nasa ae3f87ad0c fix: Fix Cargo.toml description 2019-01-20 15:12:51 +09:00
Steve Klabnik c068703028 start next development iteration 0.2.4-alpha.0 2019-01-18 10:43:59 -05:00
Steve Klabnik 6cbc41d413 version 0.2.3 2019-01-18 10:39:51 -05:00
k-nasa 4e8d051bd1 Delete extra space 2018-12-25 21:10:45 +09:00
Michael Bryan e63f53fe47
(cargo-release) start next development iteration 0.2.3-alpha.0 2018-10-20 14:22:47 +08:00
Michael Bryan 2c20c99d4a
(cargo-release) version 0.2.2 2018-10-20 14:21:21 +08:00
Michael Bryan f6a7432569
Added a round-trip test to make sure parse_input() is always correct 2018-10-20 12:50:35 +08:00
Matt Ickstadt a0e7b19784
(cargo-release) start next development iteration 0.2.2-alpha.0 2018-08-22 08:51:07 -05:00
Matt Ickstadt 7e2e095c26
(cargo-release) version 0.2.1 2018-08-22 08:48:25 -05:00
Ning Sun 4cc3a1333b
(feat) update to handlebars 1.0 2018-08-05 15:08:47 +08:00
Matt Ickstadt 762d89ebbf
(cargo-release) start next development iteration 0.2.1-alpha.0 2018-08-02 19:20:05 -05:00
Matt Ickstadt 91ffca1bbc
(cargo-release) version 0.2.0 2018-08-02 19:17:40 -05:00
Matt Ickstadt ac4e00c7c6 Begin development for the 0.2.0 release 2018-08-02 13:31:58 -05:00
Matt Ickstadt 1d448fc8cc
(cargo-release) start next development iteration 0.1.11-alpha.0 2018-07-30 19:23:20 -05:00
Matt Ickstadt add23a43c2
(cargo-release) version 0.1.10 2018-07-30 19:21:18 -05:00
Matt Ickstadt 4c87a0b5f0 Remove stylus support 2018-07-26 15:28:09 -05:00
Matt Ickstadt 3e998eb766
(cargo-release) start next development iteration 0.1.10-alpha.0 2018-07-26 12:50:07 -05:00
Matt Ickstadt 2bbabdcd62
(cargo-release) version 0.1.9 2018-07-26 12:44:29 -05:00
Matt Ickstadt a8590928cf Update env_logger version 2018-07-24 16:55:02 -05:00
Matt Ickstadt c9a9987aec
Merge pull request #738 from mattico/fix-cargo-bin
Move subcommand modules to match cargo conventions
2018-07-24 16:46:57 -05:00
Matt Ickstadt 5dd0496a4f Update dependencies
`crossbeam` and `time` are removed since they're no longer used.
2018-07-24 16:40:34 -05:00
Matt Ickstadt f300a21a47 Move subcommand modules to match cargo conventions 2018-07-24 16:34:49 -05:00
Corey Farwell 1e6328c112
Merge pull request #727 from waywardmonkeys/update-toml-query
Update to toml-query 0.7
2018-07-22 17:26:16 -04:00
Bruce Mitchener f07e734efc Update to toml-query 0.7
This was just released with an update to its dependencies, so that
mdBook could update its dependencies.
2018-07-19 17:35:34 +07:00
Bruce Mitchener db2c16102e Update to elasticlunr 2.3.
This removes one of the remaining dependencies upon pre-1.0 regex.
2018-07-19 11:11:54 +07:00
Michael Bryan 01656b610f
(cargo-release) start next development iteration 0.1.9-alpha.0 2018-07-09 18:40:43 +08:00
Michael Bryan b9ff0e8a77
(cargo-release) version 0.1.8 2018-07-09 18:39:35 +08:00
Michael Bryan 0bda57175d
Metadata for cargo-release should be in release.toml (#722) 2018-07-09 18:36:55 +08:00
Philipp Hansch e99dc51fb3
Update Regex to 1.0.0 2018-05-13 12:35:17 +02:00
Michael Bryan a323620e02
(cargo-release) start next development iteration 0.1.8-alpha.0 2018-04-23 07:42:43 +08:00
Michael Bryan ea0b835b38
(cargo-release) version 0.1.7 2018-04-23 07:41:31 +08:00