Skip to content

Commit

Permalink
Replace Python build script with Rust code
Browse files Browse the repository at this point in the history
  • Loading branch information
djc committed Jul 26, 2023
1 parent bfded6c commit 6d593f0
Show file tree
Hide file tree
Showing 6 changed files with 317 additions and 308 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ jobs:

- name: check upstream
run: |
python3 build.py > newlib.rs
cargo run --example generate > newlib.rs
diff -u src/lib.rs newlib.rs
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@ homepage = "https://github.com/rustls/webpki-roots"
repository = "https://github.com/rustls/webpki-roots"

[dev-dependencies]
percent-encoding = "2.3"
reqwest = { version = "0.11", features = ["rustls-tls-native-roots"] }
ring = "0.16.20"
rustls-pemfile = "1"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
webpki = { package = "rustls-webpki", version = "0.101.0" }
201 changes: 0 additions & 201 deletions build.py

This file was deleted.

Loading

0 comments on commit 6d593f0

Please sign in to comment.