Crates.io | checker |
lib.rs | checker |
version | 0.0.3 |
source | src |
created_at | 2021-05-03 16:08:29.5694 |
updated_at | 2021-08-27 16:50:20.969778 |
description | A crates.io crate name availability checker |
homepage | https://github.com/terror/checker |
repository | https://github.com/terror/checker |
max_upload_size | |
id | 392575 |
size | 58,399 |
checker
is a simple crates.io crate name availability checker,
it lets you easily check multiple crate names for availability and activity data.
Simply use cargo to install the binary
$ cargo install checker
You can use checker as a command line utility or a library.
checker 0.0.3
a crates.io crate name availability checker
USAGE:
checker [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-c, --check <names>... Check crate name availability
-o, --output <output> Output file
Example:
use checker::{check, Package, Status};
let result: Package = check("t").unwrap();
assert_eq!(result.name, "t");
assert_eq!(result.is_taken(), true);
assert_eq!(result.is_inactive().unwrap(), true);
assert!(result.days_since_last_updated().unwrap() >= 1825);
assert!(result.data.is_some());
assert!(result.owners.is_some());