neocurl

Crates.ioneocurl
lib.rsneocurl
version2.0.4
created_at2025-05-18 15:27:42.850073+00
updated_at2025-10-15 05:03:31.102387+00
descriptionA command line tool to test servers
homepagehttps://github.com/LeviLovie/neocurl
repositoryhttps://github.com/LeviLovie/neocurl
max_upload_size
id1678732
size139,093
LeviLovie (LeviLovie)

documentation

https://docs.rs/neocurl

README

Crates.io Docs.rs License CI/CD

NeoCurl

A command line tool to test servers.

Read the book for quick start and guide.

Features

  • Sending requests
  • Asserts
  • Logs
  • Third-party libs
  • Async requests

Example

import neocurl as nc

@nc.define
def get(client):
    response = client.get("https://httpbin.org/get")
    nc.info(f"Response status: {response.status}, finished in {response.duration:.2f}ms")
    assert response.status_code == 200, f"Expected status code 200, but got {response.status_code} ({response.status})"
    response.print()
Commit count: 100

cargo fmt