# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "octocrate" version = "2.0.1" authors = ["wokeyifrontend@gmail.com"] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A comprehensive GitHub REST API library based on Rust." homepage = "https://github.com/panghu-huang/octocrate" readme = "README.md" keywords = [ "github", "api", "octocrate", "github-api", "rest-api", ] categories = [ "web-programming::http-client", "api-bindings", ] license = "MIT" repository = "https://github.com/panghu-huang/octocrate" [lib] name = "octocrate" path = "src/lib.rs" doctest = false [[example]] name = "apps" path = "examples/apps.rs" test = true required-features = [ "apps", "repos", ] [[example]] name = "commits" path = "examples/commits.rs" test = true required-features = ["repos"] [[example]] name = "issues" path = "examples/issues.rs" test = true required-features = ["issues"] [[example]] name = "pagination" path = "examples/pagination.rs" test = true required-features = [ "pagination", "repos", ] [[example]] name = "pulls" path = "examples/pulls.rs" test = true required-features = ["pulls"] [[example]] name = "repos" path = "examples/repos.rs" test = true required-features = ["repos"] [[example]] name = "search" path = "examples/search.rs" test = true required-features = ["search"] [[example]] name = "users" path = "examples/users.rs" test = true required-features = ["users"] [dependencies.chrono] version = "0.4.37" optional = true [dependencies.octocrate-core] version = "0.1.7" [dependencies.octocrate-types] version = "2.0.1" [dependencies.serde] version = "1.0.197" features = ["derive"] [dependencies.serde_json] version = "1.0.115" [dependencies.typed-builder] version = "0.18" [dev-dependencies.dotenv] version = "0.15.0" [dev-dependencies.tokio] version = "1.32.0" features = [ "macros", "rt-multi-thread", ] [features] actions = ["octocrate-types/actions"] activity = ["octocrate-types/activity"] apps = [ "octocrate-types/apps", "chrono", ] billing = ["octocrate-types/billing"] checks = ["octocrate-types/checks"] classroom = ["octocrate-types/classroom"] code_scanning = ["octocrate-types/code_scanning"] codes_of_conduct = ["octocrate-types/codes_of_conduct"] codespaces = ["octocrate-types/codespaces"] copilot = ["octocrate-types/copilot"] default = ["octocrate-core/default-tls"] dependabot = ["octocrate-types/dependabot"] dependency_graph = ["octocrate-types/dependency_graph"] desktop = ["octocrate-types/desktop"] emojis = ["octocrate-types/emojis"] full = [ "octocrate-types/full", "pagination", "chrono", ] gists = ["octocrate-types/gists"] git = ["octocrate-types/git"] gitignore = ["octocrate-types/gitignore"] interactions = ["octocrate-types/interactions"] issues = ["octocrate-types/issues"] licenses = ["octocrate-types/licenses"] markdown = ["octocrate-types/markdown"] merge_queue = ["octocrate-types/merge_queue"] meta = ["octocrate-types/meta"] migrations = ["octocrate-types/migrations"] oidc = ["octocrate-types/oidc"] orgs = ["octocrate-types/orgs"] packages = ["octocrate-types/packages"] pagination = [ "octocrate-types/pagination", "octocrate-core/pagination", ] projects = ["octocrate-types/projects"] pulls = ["octocrate-types/pulls"] rate_limit = ["octocrate-types/rate_limit"] reactions = ["octocrate-types/reactions"] repos = ["octocrate-types/repos"] rustls-tls = ["octocrate-core/rustls-tls"] search = ["octocrate-types/search"] secret_scanning = ["octocrate-types/secret_scanning"] security_advisories = ["octocrate-types/security_advisories"] teams = ["octocrate-types/teams"] users = ["octocrate-types/users"] webhooks = ["octocrate-types/webhooks"]