Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 20 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/mdbook-trunk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ version.workspace = true

[dependencies]
anyhow.workspace = true
cargo = { version = "0.99.0", features = ["all-static"] }
cargo = { version = "0.100.0", features = ["all-static"] }
clap.workspace = true
env_logger.workspace = true
fs_extra = "1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/mdbook-trunk/src/config.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{collections::HashMap, path::PathBuf};

use anyhow::{Result, anyhow};
use cargo::{core::Workspace, ops::Packages};
use cargo::{ops::Packages, workspace::Workspace};
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Deserialize, Serialize)]
Expand Down
4 changes: 3 additions & 1 deletion packages/mdbook-trunk/src/preprocessor.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
use std::{env, str};

use anyhow::Result;
use cargo::{GlobalContext, core::Workspace, util::important_paths::find_root_manifest_for_wd};
use cargo::{
GlobalContext, util::important_paths::find_root_manifest_for_wd, workspace::Workspace,
};
use mdbook_preprocessor::{
Preprocessor, PreprocessorContext,
book::{Book, BookItem},
Expand Down
4 changes: 3 additions & 1 deletion packages/mdbook-trunk/src/renderer.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
use std::{collections::HashSet, env};

use anyhow::Result;
use cargo::{GlobalContext, core::Workspace, util::important_paths::find_root_manifest_for_wd};
use cargo::{
GlobalContext, util::important_paths::find_root_manifest_for_wd, workspace::Workspace,
};
use mdbook_renderer::{RenderContext, Renderer, book::BookItem};

use crate::{config::BuildConfig, parser::iframe::parse_iframes, trunk::build};
Expand Down
2 changes: 1 addition & 1 deletion packages/mdbook-trunk/src/trunk.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use std::{fs, path::Path, process::Command, str};

use anyhow::{Result, bail};
use cargo::core::Workspace;
use cargo::workspace::Workspace;
use htmlentity::entity::{CharacterSet, EncodeType, ICodedDataTrait, encode};
use log::{error, info};

Expand Down
Loading