cf-dynamic-best-0.1.8 is not a library.
Dynamic Best Cloudflare (自动设置 Cloudflare 优选 IP)
A tool to automatically select best Cloudflare IP for a Cloudflare DNS record.
Install
Install the binary via cargo and crates.io,
Then, get CloudflareSpeedTest ready. Following is the installation guide from their repository, different platform may differ, the following is the guide for linux and amd64.
# select for your platform and arch in their release page
Usage
--configis the file for config path.--cloudflare-st-diris the directory whereCloudflareSTbinary file is located.
Configuration
Take a look at config.template.en.yaml for configuration file with English comment.