Commit graph

16 commits

Author SHA1 Message Date
WaterWhisperer
51e846abe4 test: add unit tests for value conversion modules
Some checks are pending
CodeCoverage / lib unit test (push) Waiting to run
CodeCoverage / g3mkcert test (push) Waiting to run
CodeCoverage / g3keymess test (push) Waiting to run
CodeCoverage / g3proxy test (push) Waiting to run
CodeCoverage / g3bench test (push) Waiting to run
CodeCoverage / g3statsd test (push) Waiting to run
CodeQL Advanced / Analyze (java-kotlin) (push) Waiting to run
CodeQL Advanced / Analyze (actions) (push) Waiting to run
CodeQL Advanced / Analyze (python) (push) Waiting to run
CodeQL Advanced / Analyze (rust) (push) Waiting to run
CrossCompiling / Build (push) Waiting to run
Linux-CI / Build (push) Waiting to run
Linux-CI / Clippy (push) Waiting to run
Linux-CI / Build vendored (push) Waiting to run
Linux-CI / Build with OpenSSL Async Job (push) Waiting to run
MacOS-CI / Build (push) Waiting to run
MacOS-CI / Build vendored (push) Waiting to run
StaticLinking / musl (push) Waiting to run
StaticLinking / msvc (push) Waiting to run
Windows-CI / Build (push) Waiting to run
Windows-CI / Build vendored (push) Waiting to run
Add unit tests for value conversion functions in:
- datetime: rename tests for clarity
- geoip: ISO country/continent codes and IP location
- metrics: name strings and weighted names
- net: IP address parsing
- openssl: protocol versions
- primary: bool, integers, floats
- tls: service types
- uuid: UUID parsing

Add test data directory for supporting tests. Also update
g3-yaml modules (hash, humanize/size, humanize/time).
2025-07-20 22:55:47 +08:00
Zhang Jingqiang
9f8858a0bb switch to use SPDX license identifier and update copyright year 2025-05-16 18:30:35 +08:00
Zhang Jingqiang
230079d247 format to edition 2024 2025-02-21 10:48:48 +08:00
Zhang Jingqiang
609024f3a8 rename MetricsName to NodeName 2025-01-15 10:22:18 +08:00
Zhang Jingqiang
8624004f58 use rustls-pki-types directly 2024-10-10 11:00:50 +08:00
Zhang Jingqiang
8941c0cac5 update to use rustls 0.23 2024-05-15 10:49:57 +08:00
Zhang Jingqiang
d635d276e0 split g3-geoip to g3-geoip-types and g3-geoip-db 2024-05-09 19:13:00 +08:00
Zhang Jingqiang
1775599fc8 add new g3-ip-locate lib crate 2024-05-09 14:35:01 +08:00
Zhang Jingqiang
c1324707ec cert generator: add cert usage to protocol 2024-04-23 11:46:18 +08:00
Zhang Jingqiang
f155c16f42 fix some clippy 1.78 warning 2024-04-03 16:54:42 +08:00
Zhang Jingqiang
b3e4fa753d g3proxy: update doc 2024-03-28 14:34:10 +08:00
Zhang Jingqiang
32c472c09c allow to use der format when generate fake cert 2024-03-21 10:43:31 +08:00
Zhang Jingqiang
e786d26e5c g3proxy: support send mimic cert to cert generator 2024-03-21 10:23:01 +08:00
Zhang Jingqiang
f30f426aef g3proxy: switch to openssl for tls interception server 2024-02-23 16:18:59 +08:00
zhangjingqiang
435d9b3fc4 g3proxy: use metrics name for escaper name 2023-04-04 11:10:23 +08:00
zhangjingqiang
13716f4923 initial commit 2023-03-09 17:55:45 +08:00