Skip to content

Commit 2d47802

Browse files
committed
Workaround for bitset-fixed
1 parent a1a1563 commit 2d47802

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: xtask/src/main.rs

+7-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ fn gen_license_urls(ArgsGenLicenseUrls {}: ArgsGenLicenseUrls) -> eyre::Result<(
130130
} = packages[&(&**name, version)];
131131
let manifest_dir = manifest_path.parent().unwrap();
132132

133-
// proconioとnalgebraだけ暫定対応
133+
// proconio, nalgebra, bitset-fixedだけ暫定対応
134134
if name == "proconio" {
135135
let sha1 = read_git_sha1(manifest_dir)?;
136136
return Ok((
@@ -145,6 +145,12 @@ fn gen_license_urls(ArgsGenLicenseUrls {}: ArgsGenLicenseUrls) -> eyre::Result<(
145145
format!("https://docs.rs/crate/nalgebra/{version}/source/Cargo.toml.orig"),
146146
));
147147
}
148+
if name == "bitset-fixed" {
149+
return Ok((
150+
"bitset-fixed",
151+
format!("https://docs.rs/crate/bitset-fixed/{version}/source/Cargo.toml.orig"),
152+
));
153+
}
148154

149155
let url = format!("https://docs.rs/crate/{name}/{version}/source/");
150156
let url = if manifest_dir.join("LICENSE").exists() {

0 commit comments

Comments
 (0)