Compare commits

..

34 Commits

Author SHA1 Message Date
10a1e64de1 test
All checks were successful
Create Scripts / Build (push) Successful in 14s
2024-12-12 01:50:12 +08:00
3749a6b16f d
Some checks failed
Create Scripts / Build (push) Failing after 1m9s
2024-11-29 12:59:30 +08:00
c6c8edb644 d
All checks were successful
Create Scripts / Build (push) Successful in 17s
2024-11-29 12:43:25 +08:00
f198e1ffae df
Some checks failed
Create Scripts / Build (push) Failing after 1m10s
2024-11-29 12:41:33 +08:00
c1907236b6 df
All checks were successful
Create Scripts / Build (push) Successful in 12s
2024-11-29 12:40:41 +08:00
43db09e7ff d
All checks were successful
Create Scripts / Build (push) Successful in 29s
2024-11-29 12:39:24 +08:00
0e67a5e484 d
All checks were successful
Create Scripts / Build (push) Successful in 28s
2024-11-29 12:38:01 +08:00
cfa83fe758 d
Some checks failed
Create Scripts / Build (push) Has been cancelled
2024-11-29 12:37:05 +08:00
97fc4524a1 dd
Some checks failed
Create Scripts / Build (push) Has been cancelled
2024-11-29 12:36:05 +08:00
1367f6a434 d
Some checks failed
Create Scripts / Build (push) Failing after 1m25s
2024-11-29 12:34:02 +08:00
e54509e8ed d
Some checks failed
Create Scripts / Build (push) Failing after 1m23s
2024-11-29 12:32:00 +08:00
3a93cbe9f3 d
All checks were successful
Create Scripts / Build (push) Successful in 12s
2024-11-29 12:30:31 +08:00
32eb1eaf80 df
All checks were successful
Create Scripts / Build (push) Successful in 13s
2024-11-29 12:29:22 +08:00
300d371cdb d
All checks were successful
Create Scripts / Build (push) Successful in 27s
2024-11-29 12:28:33 +08:00
432cafa929 d
All checks were successful
Create Scripts / Build (push) Successful in 12s
2024-11-29 12:27:03 +08:00
fa29099912 d
Some checks failed
Create Scripts / Build (push) Failing after 4m13s
2024-11-29 12:22:40 +08:00
3d9d5cfb6e d
All checks were successful
Create Scripts / Build (push) Successful in 29s
2024-11-29 12:20:03 +08:00
78f4120296 d
All checks were successful
Create Scripts / Build (push) Successful in 12s
2024-11-29 12:10:37 +08:00
9cb22f85e0 d
All checks were successful
Create Scripts / Build (push) Successful in 12s
2024-11-29 12:06:11 +08:00
7b7554f9a0 d
Some checks failed
Create Scripts / Build (push) Has been cancelled
2024-11-29 12:03:25 +08:00
1a4832310f dd
Some checks failed
Create Scripts / Build (push) Failing after 4m11s
2024-11-29 11:53:37 +08:00
c4bbbc93fe downrade
Some checks failed
Create Scripts / Build (push) Failing after 4m14s
2024-11-29 11:49:04 +08:00
a50f2be8d8 d
Some checks failed
Create Scripts / Build (push) Failing after 1m17s
2024-11-29 11:47:32 +08:00
ebb545f7b4 d
Some checks failed
Create Scripts / Build (push) Failing after 1m13s
2024-11-29 11:45:32 +08:00
8bb9f89458 test
Some checks failed
Create Scripts / Build (push) Has been cancelled
2024-11-29 11:44:26 +08:00
47416be5dc test
Some checks failed
Create Scripts / Build (push) Has been cancelled
2024-11-29 11:43:23 +08:00
88a1133e02 test
Some checks failed
Create Scripts / Build (push) Has been cancelled
2024-11-29 11:42:16 +08:00
2bb1e59616 test
Some checks failed
Create Scripts / Build (push) Failing after 1m9s
2024-11-29 11:40:59 +08:00
b0e4cf1514 test
Some checks failed
Create Scripts / Build (push) Failing after 1m13s
2024-11-29 11:39:08 +08:00
73c85756cb d
Some checks failed
Create Scripts / Build (push) Failing after 1m8s
2024-11-29 07:14:44 +08:00
560c2dfee8 test
All checks were successful
Create Scripts / Build (push) Successful in 11s
2024-11-29 07:12:19 +08:00
4d6c65ba68 new
Some checks failed
Create Scripts / Build (push) Has been cancelled
2024-11-29 07:11:10 +08:00
c07bfd2ab3 new
Some checks failed
Create Scripts / Build (push) Has been cancelled
2024-11-29 06:50:58 +08:00
44af431fae test
All checks were successful
Create Scripts / Build (push) Successful in 9s
2024-11-29 06:49:26 +08:00
5 changed files with 60 additions and 40 deletions

View File

@ -9,34 +9,11 @@ jobs:
Build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
env:
prefix-key: v0-rust
hash-short: ${{ (hashFiles('Cargo.lock') | cut -c 1-8) }}
with:
key: ${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Cargo.lock') }}
restore-keys: |
${{ env.prefix-key }}-${{ runner.os }}-${{ runner.arch }}-
${{ env.prefix-key }}-${{ runner.os }}-
${{ env.prefix-key }}-
path: |
~/.cargo/bin
~/.cargo/.crates.toml
~/.cargo/.crates2.json
~/.cargo/registry
~/.cargo/git
~/.rustup/toolchains
./target
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: 1.88.0
- uses: actions-rs/cargo@v1
with:
command: run
- name: Checkout
uses: actions/checkout@v4
- name: Upload Artifact
uses: actions/upload-artifact@v4
uses: christopherhx/gitea-upload-artifact@v4
# uses: actions/upload-artifact@v3
with:
name: chn_list.rsc
path: chn_list.rsc
retention-days: 7
name: additional.txt
path: additional.txt

10
Cargo.lock generated
View File

@ -1,6 +1,6 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 4
version = 3
[[package]]
name = "addr2line"
@ -84,8 +84,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
[[package]]
name = "chnlist"
version = "0.1.1"
name = "cn_cidr"
version = "0.1.0"
dependencies = [
"reqwest",
"tokio",
@ -240,9 +240,9 @@ checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604"
[[package]]
name = "hermit-abi"
version = "0.3.9"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024"
checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7"
[[package]]
name = "http"

View File

@ -1,9 +1,9 @@
[package]
name = "chnlist"
version = "0.1.1"
name = "cn_cidr"
version = "0.1.0"
edition = "2021"
license = "MIT"
[dependencies]
reqwest = "0.11.22"
tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread"] }
tokio = { version = "1.33.0", features = ["macros", "rt-multi-thread", "rt"] }

View File

@ -16,6 +16,49 @@ imap.mail.me.com
smtp.mail.me.com
# internal service domain
nas.simaek.com
dl.simaek.com
hk.simaek.com
nas.simaek.com
dl.xueye.io
# PTSBAO
ptsbao.club
www.plex.tv
/ip/firewall/address-list add list=chn_list address=103.22.40.0/22
/ip/firewall/address-list add list=chn_list address=103.22.44.0/22
/ip/firewall/address-list add list=chn_list address=103.22.48.0/22
/ip/firewall/address-list add list=chn_list address=103.22.52.0/22
/ip/firewall/address-list add list=chn_list address=103.22.56.0/22
/ip/firewall/address-list add list=chn_list address=103.59.148.0/22
/ip/firewall/address-list add list=chn_list address=103.59.164.0/22
/ip/firewall/address-list add list=chn_list address=103.59.168.0/23
/ip/firewall/address-list add list=chn_list address=221.232.0.0/14
/ip/firewall/address-list add list=chn_list address=221.236.0.0/15
/ip/firewall/address-list add list=chn_list address=221.238.0.0/16
/ip/firewall/address-list add list=chn_list address=221.239.0.0/17
/ip/firewall/address-list add list=chn_list address=221.239.128.0/17
/ip/firewall/address-list add list=chn_list address=222.16.0.0/15
/ip/firewall/address-list add list=chn_list address=223.255.252.0/23
/ip/firewall/address-list add list=chn_list address=10.0.0.0/8
/ip/firewall/address-list add list=chn_list address=127.0.0.0/8
/ip/firewall/address-list add list=chn_list address=0.0.0.0/8
/ip/firewall/address-list add list=chn_list address=172.16.0.0/12
/ip/firewall/address-list add list=chn_list address=169.254.0.0/16
/ip/firewall/address-list add list=chn_list address=192.168.0.0/16
/ip/firewall/address-list add list=chn_list address=100.64.0.0/10
/ip/firewall/address-list add list=chn_list address=17.0.0.0/8
/ip/firewall/address-list add list=chn_list address=p217-imap.mail.icloud.com.cn
/ip/firewall/address-list add list=chn_list address=imap.mail.me.com
/ip/firewall/address-list add list=chn_list address=smtp.mail.me.com
/ip/firewall/address-list add list=chn_list address=dl.simaek.com
/ip/firewall/address-list add list=chn_list address=nas.simaek.com
/ip/firewall/address-list add list=chn_list address=dl.xueye.io
/ip/firewall/address-list add list=chn_list address=ptsbao.club
/ip/firewall/address-list add list=chn_list address=ptsbao.club
/ip/firewall/address-list add list=chn_list address=www.plex.tv
/ip/firewall/address-list add list=chn_list address=www.plex.tv
/ip/firewall/address-list add list=chn_list address=www.plex.tv
/ip/firewall/address-list add list=chn_list address=www.plex.tv
jljlsafjdslfsjadslfajdslfjlsadjfowipohsdahflkhsadf
shfhasfhowefhadslfhlsadhfqwefhpowehofhasdlhflashdf
dddjflajldjslafjldsfjaladsfdewegsdAFaguooolllafdawoeqf

View File

@ -14,7 +14,7 @@ async fn main() {
}
async fn create() -> Result<(), Box<dyn Error>> {
let url = "https://raw.githubusercontent.com/gaoyifan/china-operator-ip/refs/heads/ip-lists/china.txt";
let url = "https://ispip.clang.cn/all_cn.txt";
let dest = "chn_list.rsc";
let mut dest = File::create(dest).unwrap();
// address list name