-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64e1417
commit 9c3ed78
Showing
10 changed files
with
318 additions
and
390 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,14 +7,17 @@ version = "0.1.0" | |
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
authors = ["Simon Bourne <[email protected]>"] | ||
homepage = "https://github.com/simon-bourne/rust-book" | ||
repository = "https://github.com/simon-bourne/rust-book" | ||
homepage = "https://github.com/simon-bourne/mdbook-rust" | ||
repository = "https://github.com/simon-bourne/mdbook-rust" | ||
|
||
[workspace.dependencies] | ||
rust-book = { version = "0.1.0", path = "packages/rust-book" } | ||
mdbook-rust = { version = "0.1.0", path = "packages/mdbook-rust" } | ||
|
||
anyhow = "1.0.75" | ||
indoc = "2.0.4" | ||
itertools = "0.12.0" | ||
mdbook = "0.4.36" | ||
ra_ap_syntax = "0.0.187" | ||
thiserror = "1.0.50" | ||
semver = "1.0.20" | ||
serde_json = "1.0.108" | ||
xtask-base = { git = "https://github.com/simon-bourne/rust-xtask-base" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Rust Book | ||
# MDBook Rust | ||
|
||
[![tests](https://github.com/simon-bourne/rust-book/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/simon-bourne/rust-book/actions/workflows/ci-tests.yml) | ||
[![crates.io](https://img.shields.io/crates/v/rust-book.svg)](https://crates.io/crates/rust-book) | ||
[![Documentation](https://docs.rs/rust-book/badge.svg)](https://docs.rs/rust-book) | ||
[![MIT/Apache-2 licensed](https://img.shields.io/crates/l/rust-book)](./LICENSE-APACHE) | ||
[![tests](https://github.com/simon-bourne/mdbook-rust/actions/workflows/ci-tests.yml/badge.svg)](https://github.com/simon-bourne/mdbook-rust/actions/workflows/ci-tests.yml) | ||
[![crates.io](https://img.shields.io/crates/v/mdbook-rust.svg)](https://crates.io/cratemdbook-rustok) | ||
[![Documentation](https://docs.rs/mdbook-rust/badge.svg)](https://docs.rs/mdbook-rust) | ||
[![MIT/Apache-2 licensed](https://img.shields.io/crates/l/mdbook-rust)](./LICENSE-APACHE) | ||
|
||
Enhanced Rust support for MDBook. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
[package] | ||
name = "rust-book-example" | ||
name = "mdbook-rust-example" | ||
version = "0.0.0" | ||
edition = { workspace = true } | ||
|
||
[build-dependencies] | ||
rust-book.workspace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ title = "Rust Book Example" | |
|
||
[build] | ||
create-missing = false | ||
|
||
[preprocessor.rust] |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Summary | ||
|
||
[Lib](lib.md) | ||
[Lib](lib.rs) | ||
|
||
- [Chapter 1](./chapter1.md) | ||
- [Chapter 1 - 1](./chapter1/chapter1_1.md) | ||
- [Chapter 1](./chapter1.rs) | ||
- [Chapter 1 - 1](./chapter1/chapter1_1.rs) |
9 changes: 6 additions & 3 deletions
9
packages/rust-book/Cargo.toml → packages/mdbook-rust/Cargo.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,20 @@ | ||
[package] | ||
name = "rust-book" | ||
name = "mdbook-rust" | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
license = { workspace = true } | ||
authors = { workspace = true } | ||
homepage = { workspace = true } | ||
repository = { workspace = true } | ||
description = "Rust Book" | ||
description = "Enhanced Rust support for MDBook" | ||
keywords = [] | ||
readme = "../../README.md" | ||
|
||
[dependencies] | ||
anyhow.workspace = true | ||
indoc.workspace = true | ||
itertools.workspace = true | ||
mdbook.workspace = true | ||
ra_ap_syntax.workspace = true | ||
thiserror.workspace = true | ||
semver.workspace = true | ||
serde_json.workspace = true |
Oops, something went wrong.