docs.rs failed to build zju-jw-scraper-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
zju-jw-scraper-0.2.0
ZJU-JWB scraper
service
The JWService
is implemented for all types which implements interfacer_http::HttpClient
.
You can refer to src/test.rs
for all use cases.
client
You can use this crate with client
feature, like this:
= { = "0.2", = ["client"] }
Then, you can use default client provided by interfacer-http-hyper
:
use ;
async
However, the default client can only handle requests on HTTP, if you want to use other protocol like HTTPS, you need other Connect
.
As the example connector
:
use HttpsConnector;
use ;
async
test
Run basic tests:
To test this crate fully, create a config file test-settings.toml
, and fill it referring to test-settings.toml.sample
. Then run tests:
As an alternative, you can configure tests using environment variables with prefix TEST_
.
TEST_stu_id=3190000000
Environment variables always have higher priority.