[dependencies.arc-swap]
version = "1.3.0"
[dependencies.async-trait]
version = "0.1.50"
[dependencies.base64]
version = "0.22.0"
[dependencies.bytes]
version = "1.0.1"
[dependencies.cfg-if]
version = "1.0.0"
[dependencies.chrono]
default-features = false
features = ["serde", "clock"]
version = "0.4.19"
[dependencies.either]
version = "1.8.0"
[dependencies.futures]
version = "0.3.15"
[dependencies.futures-core]
optional = true
version = "0.3.15"
[dependencies.futures-util]
optional = true
version = "0.3.15"
[dependencies.http]
version = "1.0.0"
[dependencies.http-body]
version = "1.0.0"
[dependencies.http-body-util]
version = "0.1.0"
[dependencies.hyper]
version = "1.1.0"
[dependencies.hyper-rustls]
default-features = false
features = ["http1", "logging", "native-tokio", "tls12"]
optional = true
version = "0.27.0"
[dependencies.hyper-timeout]
optional = true
version = "0.5.1"
[dependencies.hyper-tls]
optional = true
version = "0.6.0"
[dependencies.hyper-util]
features = ["http1"]
version = "0.1.3"
[dependencies.jsonwebtoken]
version = "9"
[dependencies.once_cell]
version = "1.7.2"
[dependencies.percent-encoding]
version = "2.2.0"
[dependencies.pin-project]
version = "1.0.12"
[dependencies.secrecy]
version = "0.10.3"
[dependencies.serde]
features = ["derive"]
version = "1.0.126"
[dependencies.serde_json]
version = "1.0.64"
[dependencies.serde_path_to_error]
version = "0.1.4"
[dependencies.serde_urlencoded]
version = "0.7.1"
[dependencies.snafu]
version = "0.8"
[dependencies.tokio]
default-features = false
features = ["time"]
optional = true
version = "1.17.0"
[dependencies.tower]
default-features = false
features = ["util", "buffer"]
version = "0.5.1"
[dependencies.tower-http]
features = ["map-response-body", "trace"]
version = "0.6.1"
[dependencies.tracing]
features = ["log"]
optional = true
version = "0.1.37"
[dependencies.url]
features = ["serde"]
version = "2.2.2"
[dev-dependencies.base64]
version = "0.22.0"
[dev-dependencies.crypto_box]
features = ["seal"]
version = "0.8.2"
[dev-dependencies.graphql_client]
version = "0.14.0"
[dev-dependencies.pretty_assertions]
version = "1.4.0"
[dev-dependencies.tokio]
default-features = false
features = ["macros", "rt-multi-thread", "time"]
version = "1.17.0"
[dev-dependencies.tokio-test]
version = "0.4.2"
[dev-dependencies.wiremock]
version = "0.6.0"
[[example]]
name = "create_a_gist"
path = "examples/create_a_gist.rs"
[[example]]
name = "create_org_secret"
path = "examples/create_org_secret.rs"
[[example]]
name = "create_repo_from_template"
path = "examples/create_repo_from_template.rs"
[[example]]
name = "create_repo_secret"
path = "examples/create_repo_secret.rs"
[[example]]
name = "custom_client"
path = "examples/custom_client.rs"
[[example]]
name = "delete_repo"
path = "examples/delete_repo.rs"
[[example]]
name = "device_flow"
path = "examples/device_flow.rs"
[[example]]
name = "get_commit"
path = "examples/get_commit.rs"
[[example]]
name = "get_content"
path = "examples/get_content.rs"
[[example]]
name = "get_dependabot_alerts"
path = "examples/get_dependabot_alerts.rs"
[[example]]
name = "get_rate_limit"
path = "examples/get_rate_limit.rs"
[[example]]
name = "get_repo"
path = "examples/get_repo.rs"
[[example]]
name = "github_app_authentication"
path = "examples/github_app_authentication.rs"
[[example]]
name = "github_app_authentication_manual"
path = "examples/github_app_authentication_manual.rs"
[[example]]
name = "graphql_issues"
path = "examples/graphql_issues.rs"
[[example]]
name = "is_collab"
path = "examples/is_collab.rs"
[[example]]
name = "list_all_workflow_runs"
path = "examples/list_all_workflow_runs.rs"
[[example]]
name = "list_forks"
path = "examples/list_forks.rs"
[[example]]
name = "list_gists_for_token_holder"
path = "examples/list_gists_for_token_holder.rs"
[[example]]
name = "list_org_self_hosted_runners"
path = "examples/list_org_self_hosted_runners.rs"
[[example]]
name = "list_repos_for_authenticated_user"
path = "examples/list_repos_for_authenticated_user.rs"
[[example]]
name = "list_repos_starred_by_authenticated_user"
path = "examples/list_repos_starred_by_authenticated_user.rs"
[[example]]
name = "merge_branch"
path = "examples/merge_branch.rs"
[[example]]
name = "notifications"
path = "examples/notifications.rs"
[[example]]
name = "paging_results"
path = "examples/paging_results.rs"
[[example]]
name = "poll_events"
path = "examples/poll_events.rs"
[[example]]
name = "poll_org_events"
path = "examples/poll_org_events.rs"
[[example]]
name = "poll_repo_events"
path = "examples/poll_repo_events.rs"
[[example]]
name = "print_license"
path = "examples/print_license.rs"
[[example]]
name = "print_pr_diff"
path = "examples/print_pr_diff.rs"
[[example]]
name = "render_markdown"
path = "examples/render_markdown.rs"
[[example]]
name = "search_issues"
path = "examples/search_issues.rs"
[[example]]
name = "star_unstar_a_gist"
path = "examples/star_unstar_a_gist.rs"
[[example]]
name = "unlock"
path = "examples/unlock.rs"
[[example]]
name = "update_pull_request_branch"
path = "examples/update_pull_request_branch.rs"
[features]
default = ["follow-redirect", "retry", "rustls", "timeout", "tracing", "default-client", "rustls-ring"]
default-client = ["hyper-util/client-legacy"]
follow-redirect = ["tower-http/follow-redirect"]
opentls = ["hyper-tls"]
retry = ["tower/retry", "futures-util"]
rustls = ["hyper-rustls"]
rustls-aws-lc-rs = ["hyper-rustls/aws-lc-rs"]
rustls-ring = ["hyper-rustls/ring"]
rustls-webpki-tokio = ["hyper-rustls/webpki-tokio"]
stream = ["futures-core", "futures-util"]
timeout = ["hyper-timeout", "tokio", "tower/timeout"]
[lib]
name = "octocrab"
path = "src/lib.rs"
[package]
authors = ["XAMPPRocky <xampprocky@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming::http-client"]
description = "A modern, extensible GitHub API client."
documentation = "https://docs.rs/octocrab"
edition = "2018"
homepage = "https://github.com/XAMPPRocky/octocrab"
keywords = ["github", "github-api"]
license = "MIT OR Apache-2.0"
name = "octocrab"
readme = "README.md"
repository = "https://github.com/XAMPPRocky/octocrab.git"
resolver = "2"
version = "0.41.2"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu"]
[[test]]
name = "actions_add_selected_repo_to_org_secret_test"
path = "tests/actions_add_selected_repo_to_org_secret_test.rs"
[[test]]
name = "actions_delete_workflow_run_logs_test"
path = "tests/actions_delete_workflow_run_logs_test.rs"
[[test]]
name = "actions_remove_selected_repo_from_org_secret_test"
path = "tests/actions_remove_selected_repo_from_org_secret_test.rs"
[[test]]
name = "actions_self_hosted_runners"
path = "tests/actions_self_hosted_runners.rs"
[[test]]
name = "actions_workflows_dispatches_test"
path = "tests/actions_workflows_dispatches_test.rs"
[[test]]
name = "check_suites"
path = "tests/check_suites.rs"
[[test]]
name = "code_scanning_alert_update_test"
path = "tests/code_scanning_alert_update_test.rs"
[[test]]
name = "code_scanning_alerts_list_test"
path = "tests/code_scanning_alerts_list_test.rs"
[[test]]
name = "code_scanning_analysis_test"
path = "tests/code_scanning_analysis_test.rs"
[[test]]
name = "commit_associated_check_runs_tests"
path = "tests/commit_associated_check_runs_tests.rs"
[[test]]
name = "current_user_orgs_test"
path = "tests/current_user_orgs_test.rs"
[[test]]
name = "dependabot_alerts_test"
path = "tests/dependabot_alerts_test.rs"
[[test]]
name = "events_test"
path = "tests/events_test.rs"
[[test]]
name = "follow_redirect"
path = "tests/follow_redirect.rs"
[[test]]
name = "generate_release_notes_test"
path = "tests/generate_release_notes_test.rs"
[[test]]
name = "gists_test"
path = "tests/gists_test.rs"
[[test]]
name = "hooks_delivery_list"
path = "tests/hooks_delivery_list.rs"
[[test]]
name = "issues_check_assignee_test"
path = "tests/issues_check_assignee_test.rs"
[[test]]
name = "issues_comments_delete_test"
path = "tests/issues_comments_delete_test.rs"
[[test]]
name = "issues_comments_reactions_delete_test"
path = "tests/issues_comments_reactions_delete_test.rs"
[[test]]
name = "issues_labels_delete_test"
path = "tests/issues_labels_delete_test.rs"
[[test]]
name = "issues_locking_test"
path = "tests/issues_locking_test.rs"
[[test]]
name = "issues_reactions_delete_test"
path = "tests/issues_reactions_delete_test.rs"
[[test]]
name = "issues_timeline_tests"
path = "tests/issues_timeline_tests.rs"
[[test]]
name = "mock_error"
path = "tests/mock_error.rs"
[[test]]
name = "notifications_threads_test"
path = "tests/notifications_threads_test.rs"
[[test]]
name = "org_installations_test"
path = "tests/org_installations_test.rs"
[[test]]
name = "org_members_tests"
path = "tests/org_members_tests.rs"
[[test]]
name = "org_secrets_test"
path = "tests/org_secrets_test.rs"
[[test]]
name = "projects_org_create_project_test"
path = "tests/projects_org_create_project_test.rs"
[[test]]
name = "projects_org_list_projects_test"
path = "tests/projects_org_list_projects_test.rs"
[[test]]
name = "projects_project_delete_test"
path = "tests/projects_project_delete_test.rs"
[[test]]
name = "projects_project_get_test"
path = "tests/projects_project_get_test.rs"
[[test]]
name = "projects_project_update_test"
path = "tests/projects_project_update_test.rs"
[[test]]
name = "projects_repo_create_project_test"
path = "tests/projects_repo_create_project_test.rs"
[[test]]
name = "projects_repo_list_projects_test"
path = "tests/projects_repo_list_projects_test.rs"
[[test]]
name = "projects_user_create_project_test"
path = "tests/projects_user_create_project_test.rs"
[[test]]
name = "projects_user_list_projects_test"
path = "tests/projects_user_list_projects_test.rs"
[[test]]
name = "pull_request_commits_test"
path = "tests/pull_request_commits_test.rs"
[[test]]
name = "pull_request_review_comment_test"
path = "tests/pull_request_review_comment_test.rs"
[[test]]
name = "pull_request_review_operations_test"
path = "tests/pull_request_review_operations_test.rs"
[[test]]
name = "repo_contributors_test"
path = "tests/repo_contributors_test.rs"
[[test]]
name = "repo_delete_ref_test"
path = "tests/repo_delete_ref_test.rs"
[[test]]
name = "repo_secrets_test"
path = "tests/repo_secrets_test.rs"
[[test]]
name = "repos_commit_test"
path = "tests/repos_commit_test.rs"
[[test]]
name = "repos_delete_test"
path = "tests/repos_delete_test.rs"
[[test]]
name = "repos_events_test"
path = "tests/repos_events_test.rs"
[[test]]
name = "repos_is_collaborator_test"
path = "tests/repos_is_collaborator_test.rs"
[[test]]
name = "repos_merges_test"
path = "tests/repos_merges_test.rs"
[[test]]
name = "repos_releases_get_by_id"
path = "tests/repos_releases_get_by_id.rs"
[[test]]
name = "repos_releases_get_by_tag"
path = "tests/repos_releases_get_by_tag.rs"
[[test]]
name = "repos_releases_get_latest"
path = "tests/repos_releases_get_latest.rs"
[[test]]
name = "repos_releases_list_test"
path = "tests/repos_releases_list_test.rs"
[[test]]
name = "repos_stargazers_tests"
path = "tests/repos_stargazers_tests.rs"
[[test]]
name = "team_delete_test"
path = "tests/team_delete_test.rs"
[[test]]
name = "team_invitations_tests"
path = "tests/team_invitations_tests.rs"
[[test]]
name = "team_members_tests"
path = "tests/team_members_tests.rs"
[[test]]
name = "team_repos_tests"
path = "tests/team_repos_tests.rs"
[[test]]
name = "user_blocks_tests"
path = "tests/user_blocks_tests.rs"
[[test]]
name = "user_deserialize_test"
path = "tests/user_deserialize_test.rs"
[[test]]
name = "user_emails_tests"
path = "tests/user_emails_tests.rs"
[[test]]
name = "user_git_ssh_keys_tests"
path = "tests/user_git_ssh_keys_tests.rs"
[[test]]
name = "user_gpg_keys_tests"
path = "tests/user_gpg_keys_tests.rs"
[[test]]
name = "user_repositories_tests"
path = "tests/user_repositories_tests.rs"
[[test]]
name = "user_social_accounts_tests"
path = "tests/user_social_accounts_tests.rs"