Upgrade outdated dependencies
This commit is contained in:
parent
b7059ddd18
commit
9f8cdecae6
@ -18,7 +18,7 @@ matrix = ["dep:ruma-common"]
|
||||
|
||||
[dependencies]
|
||||
as_variant = { workspace = true }
|
||||
html5ever = "0.28.0"
|
||||
html5ever = "0.29.0"
|
||||
phf = { version = "0.11.1", features = ["macros"] }
|
||||
ruma-common = { workspace = true, optional = true }
|
||||
tracing = { workspace = true, features = ["attributes"] }
|
||||
|
@ -100,6 +100,7 @@ impl Default for Html {
|
||||
impl TreeSink for Html {
|
||||
type Handle = NodeRef;
|
||||
type Output = Self;
|
||||
type ElemName<'a> = html5ever::ExpandedName<'a>;
|
||||
|
||||
fn finish(self) -> Self::Output {
|
||||
self
|
||||
|
@ -18,7 +18,7 @@ all-features = true
|
||||
unstable-exhaustive-types = []
|
||||
|
||||
[dependencies]
|
||||
itertools = "0.12.1"
|
||||
itertools = "0.13.0"
|
||||
js_int = { workspace = true }
|
||||
ruma-common = { workspace = true }
|
||||
ruma-events = { workspace = true }
|
||||
|
@ -15,7 +15,7 @@ semver = { version = "1.0.6", features = ["serde"], optional = true }
|
||||
serde = { workspace = true }
|
||||
serde_json = { workspace = true }
|
||||
toml = { version = "0.8.2", default-features = false, features = ["parse"] }
|
||||
toml_edit = { version = "0.20.2", optional = true }
|
||||
toml_edit = { version = "0.22.22", optional = true }
|
||||
xshell = "0.1.17"
|
||||
|
||||
[lints]
|
||||
|
@ -7,7 +7,7 @@ use reqwest::blocking::Client;
|
||||
use semver::Version;
|
||||
use serde::{de::IgnoredAny, Deserialize};
|
||||
#[cfg(feature = "default")]
|
||||
use toml_edit::{value, Document};
|
||||
use toml_edit::{value, DocumentMut};
|
||||
#[cfg(feature = "default")]
|
||||
use xshell::{cmd, pushd, read_file, write_file};
|
||||
|
||||
@ -78,7 +78,7 @@ impl Package {
|
||||
println!("Updating {} to version {version}…", self.name);
|
||||
|
||||
if !dry_run {
|
||||
let mut document = read_file(&self.manifest_path)?.parse::<Document>()?;
|
||||
let mut document = read_file(&self.manifest_path)?.parse::<DocumentMut>()?;
|
||||
|
||||
document["package"]["version"] = value(version.to_string());
|
||||
|
||||
@ -101,7 +101,7 @@ impl Package {
|
||||
println!("Updating dependency in {} crate…", package.name);
|
||||
|
||||
if !dry_run {
|
||||
let mut document = read_file(&package.manifest_path)?.parse::<Document>()?;
|
||||
let mut document = read_file(&package.manifest_path)?.parse::<DocumentMut>()?;
|
||||
|
||||
let version = if !self.version.pre.is_empty() {
|
||||
format!("={}", self.version)
|
||||
@ -124,7 +124,7 @@ impl Package {
|
||||
}
|
||||
} else {
|
||||
let workspace_manifest_path = metadata.workspace_root.join("Cargo.toml");
|
||||
let mut document = read_file(&workspace_manifest_path)?.parse::<Document>()?;
|
||||
let mut document = read_file(&workspace_manifest_path)?.parse::<DocumentMut>()?;
|
||||
let workspace_deps = &mut document["workspace"]["dependencies"];
|
||||
|
||||
println!("Updating workspace dependency…");
|
||||
|
Loading…
x
Reference in New Issue
Block a user