diff --git a/Cargo.toml b/Cargo.toml index 3b7aa63f..3ac37343 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,12 @@ complexity = { level = "warn", priority = -1 } missing_docs = "warn" rust_2018_idioms = "warn" +[workspace.package] +edition = "2021" +license = "MPL-2.0" +repository = "https://github.com/rust-lang/mdBook" +rust-version = "1.82.0" # Keep in sync with installation.md and .github/workflows/main.yml + [package] name = "mdbook" version = "0.4.52" @@ -19,14 +25,14 @@ authors = [ "Matt Ickstadt " ] documentation = "https://rust-lang.github.io/mdBook/index.html" -edition = "2021" +edition.workspace = true exclude = ["/guide/*"] keywords = ["book", "gitbook", "rustbook", "markdown"] -license = "MPL-2.0" +license.workspace = true readme = "README.md" -repository = "https://github.com/rust-lang/mdBook" +repository.workspace = true description = "Creates a book from markdown files" -rust-version = "1.82" # Keep in sync with installation.md and .github/workflows/main.yml +rust-version.workspace = true [dependencies] anyhow = "1.0.71" diff --git a/examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml b/examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml index 7571b18d..38f7e907 100644 --- a/examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml +++ b/examples/remove-emphasis/mdbook-remove-emphasis/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "mdbook-remove-emphasis" version = "0.1.0" -edition = "2021" +edition.workspace = true [dependencies] mdbook = { version = "0.4.40", path = "../../.." }