Thanks to visit codestin.com
Credit goes to github.com

Skip to content

aubergemediale/rustysky

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustysky

Rust Tests stability-wip

rustysky is a Rust client library for the Bluesky social network. Along with the library, this project also provides a CLI tool and examples to help users get started with the Bluesky API.

rustysky

Table of Contents

Installation

To include the rustysky library in your Rust project, add it as a dependency in your Cargo.toml:

[dependencies]
rustysky = "0.1.0"  # Replace with the latest version

Then run:

cargo build

Usage

Using the Library

To use the rustysky library in your Rust project:

extern crate rustysky;

// Your code here...

CLI Tool

To run the rustysky_cli:

cargo run --bin rustysky_cli

Examples

To demonstrate the usage of rustysky, we've provided some examples:

  1. Auth Example:

    Run the auth example with:

    cargo run --example auth
    
  2. No-Auth Example:

    Run the no-auth example with:

    cargo run --example no_auth
    

Testing

Unit Tests

Unit tests are co-located with the code they test. To run only the unit tests for the library:

cargo test --lib

Integration Tests

Integration tests are located in the tests directory. To run the integration tests:

cargo test --test bsky_agent_tests

Running All Tests

To run both unit and integration tests together:

cargo test

## License

This project is licensed under the [MIT License](LICENSE.md).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages