Skip to content

Commit 3d77484

Browse files
committed
Add amplify_derive and amplify_num
1 parent a7c7de8 commit 3d77484

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ pathfinding = "=4.2.1"
2626
recur-fn = "=2.2.0"
2727
indexing = { version = "=0.4.1", features = ["experimental_pointer_ranges"] }
2828
amplify = { version = "=3.14.2", features = ["c_raw", "rand", "stringly_conversions"] }
29+
amplify_derive = "=2.11.3"
30+
amplify_num = { version = "=0.4.1", features = ["std"] }
2931
easy-ext = "=1.0.1"
3032
multimap = "=0.9.0"
3133
btreemultimap = "=0.1.1"

xtask/src/main.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@ fn gen_license_urls(ArgsGenLicenseUrls {}: ArgsGenLicenseUrls) -> eyre::Result<(
106106
let manifest_dir = manifest_path.parent().unwrap();
107107

108108
// 一部のクレートは暫定対応
109+
if ["amplify_derive", "amplify_num"].contains(&&**name) {
110+
let sha1 = read_git_sha1(manifest_dir)?;
111+
return Ok((
112+
&**name,
113+
format!("https://github.com/rust-amplify/rust-amplify/blob/{sha1}/LICENSE"),
114+
));
115+
}
109116
if name == "proconio" {
110117
let sha1 = read_git_sha1(manifest_dir)?;
111118
return Ok((

0 commit comments

Comments
 (0)