webpki-roots
Advanced tools
| { | ||
| "git": { | ||
| "sha1": "575994bb516f2b1fff0dc6eea37eec76e6ba8888" | ||
| "sha1": "e37165d9958757a6a1a96155c1eaad50cf40d768" | ||
| }, | ||
| "path_in_vcs": "webpki-roots" | ||
| } |
+1
-1
@@ -801,3 +801,3 @@ # This file is automatically @generated by Cargo. | ||
| name = "webpki-roots" | ||
| version = "0.26.9" | ||
| version = "0.26.10" | ||
| dependencies = [ | ||
@@ -804,0 +804,0 @@ "hex", |
+2
-2
@@ -13,5 +13,5 @@ # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO | ||
| [package] | ||
| edition = "2018" | ||
| edition = "2021" | ||
| name = "webpki-roots" | ||
| version = "0.26.9" | ||
| version = "0.26.10" | ||
| build = false | ||
@@ -18,0 +18,0 @@ autolib = false |
+7
-7
@@ -57,7 +57,7 @@ use std::ascii::escape_default; | ||
| code.push_str(" /*\n"); | ||
| code.push_str(&format!(" * Issuer: {}\n", issuer)); | ||
| code.push_str(&format!(" * Subject: {}\n", subject_str)); | ||
| code.push_str(&format!(" * Label: {:?}\n", label)); | ||
| code.push_str(&format!(" * Serial: {}\n", serial)); | ||
| code.push_str(&format!(" * SHA256 Fingerprint: {}\n", sha256_fp)); | ||
| code.push_str(&format!(" * Issuer: {issuer}\n")); | ||
| code.push_str(&format!(" * Subject: {subject_str}\n")); | ||
| code.push_str(&format!(" * Label: {label:?}\n")); | ||
| code.push_str(&format!(" * Serial: {serial}\n")); | ||
| code.push_str(&format!(" * SHA256 Fingerprint: {sha256_fp}\n")); | ||
| for ln in root.pem().lines() { | ||
@@ -113,3 +113,3 @@ code.push_str(" * "); | ||
| { | ||
| write!(ret, "CN={}", cn).unwrap(); | ||
| write!(ret, "CN={cn}").unwrap(); | ||
| } | ||
@@ -127,3 +127,3 @@ | ||
| } | ||
| write!(ret, "{}={}", label, str_parts).unwrap(); | ||
| write!(ret, "{label}={str_parts}").unwrap(); | ||
| } | ||
@@ -130,0 +130,0 @@ }; |
+2
-2
@@ -86,3 +86,3 @@ use core::time::Duration; | ||
| rcgen::GeneralSubtree::DnsName(dns_name) => Some(rcgen_ee_for_name( | ||
| format!("valid{}{}", dns_name, suffix), | ||
| format!("valid{dns_name}{suffix}"), | ||
| &trust_anchor, | ||
@@ -156,3 +156,3 @@ &key_pair, | ||
| GeneralName::DNSName(base) => rcgen::GeneralSubtree::DnsName(base.to_string()), | ||
| name => panic!("unexpected subtree base general name type: {}", name), | ||
| name => panic!("unexpected subtree base general name type: {name}"), | ||
| }) | ||
@@ -159,0 +159,0 @@ .collect(), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display