diff --git a/Cargo.toml b/Cargo.toml index 47ed1f8..4308cc2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,12 @@ [package] name = "yggdrasil-authenticator" -authors = ["Rabbit0w0"] -license = "Apache-2.0" version = "0.1.0" +authors = ["Rabbit0w0 "] +license = "Apache-2.0" +homepage = "https://github.com/MizukiLab/yggdrasil-authenticator" +repository = "https://github.com/MizukiLab/yggdrasil-authenticator" +documentation = "https://docs.rs/yggdrasil-authenticator" +description = "Rust library for authenticating using Yggdrasil API." edition = "2021" [dependencies] diff --git a/README.md b/README.md index 693b477..f63fadf 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,15 @@ Implemented Standard: [authlib-injector](https://github.com/yushijinhun/authlib- - **JSON Models**: Structs for serializing/deserializing request and response data, including agents, profiles, users, and errors. - **Error Handling**: Custom error types for handling authentication failures. +## Usage + +Add the library to your `Cargo.toml`: + +```toml +[dependencies] +yggdrasil-authenticator = "0.1.0" +``` + ## Sample Code ```rust @@ -45,4 +54,4 @@ async fn main() -> Result<(), Box> { Ok(()) } -``` \ No newline at end of file +```