Skip to content

Commit

Permalink
Merge pull request #14653 from omoerbeek/rec-rust-updates
Browse files Browse the repository at this point in the history
rec: rust related updates
  • Loading branch information
omoerbeek authored Oct 7, 2024
2 parents ec0e381 + 1ac9bb2 commit 88b78f8
Show file tree
Hide file tree
Showing 8 changed files with 2,854 additions and 2,816 deletions.
6 changes: 3 additions & 3 deletions builder-support/helpers/rust.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": "1.78.0",
"version": "1.81.0",
"license": "MIT",
"publisher": "https://www.rust-lang.org/",
"SHA256SUM_x86_64": "1377999f189d328ec183676c0e69f21af16e450f8d67f10d1f6cf746951a1d64",
"SHA256SUM_aarch64": "a76e6b659e9948f2bbd9d1c99b45348c3729bac7003d5f5b7fb5cacddb2bfcc1"
"SHA256SUM_x86_64": "b82a9daa19de7ae7e445af211974d96d390945aede7b32f752c93d0bb2e0890d",
"SHA256SUM_aarch64": "f103d49fe2c6a2d468d48113102a72fa8ea12b1cc379ad76784e1754bbb29a45"
}
6 changes: 5 additions & 1 deletion pdns/recursordist/settings/cxxsupport.cc
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,11 @@ static void possiblyConvertACLFile(const string& includeDir, const string& apiDi
if (plusis != string::npos) {
auto val = line.substr(plusis + 2);
boost::trim(val);
result.emplace_back(val);
vector<string> acls;
stringtok(acls, val, " ,\t");
for (const auto& acl : acls) {
result.emplace_back(acl);
}
}
}

Expand Down
149 changes: 91 additions & 58 deletions pdns/recursordist/settings/rust/Cargo.lock

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

4 changes: 2 additions & 2 deletions pdns/recursordist/settings/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ crate-type = ["staticlib"]
[dependencies]
cxx = "1.0"
serde = { version = "1.0", features = ["derive"] }
serde_yaml = "0.9"
serde_yaml = { package = "serde_yml", version = "0.0.12" }
ipnet = "2.8"
once_cell = "1.18.0"
base64 = "0.21"
base64 = "0.22"

[build-dependencies]
cxx-build = "1.0"
Expand Down
Loading

0 comments on commit 88b78f8

Please sign in to comment.