sunlicense 0.0.1

Official SunLicense client for Rust — licence key management and validation for indie software developers.
Documentation
  • Coverage
  • 100%
    12 out of 12 items documented0 out of 5 items with examples
  • Size
  • Source code size: 6.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 130.9 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • sunlicense-com/sunlicense-rust
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • ka0un

SunLicense — Rust Client

Official Rust client for SunLicense, a licence management and anti-piracy system for indie software developers.

Early preview. This release reserves the crate name and defines the request and response shapes. The HTTP transport arrives in 1.0.0, alongside SunLicense 2.0.

Install

cargo add sunlicense

Usage

use sunlicense::Config;

let config = Config::new("https://your-instance.example.com")?
    .with_token("optional-api-token");

assert_eq!(config.validate_url(), "https://your-instance.example.com/api/v1/validate");

Links

Licence

MIT © Hapangama