[package] name = "octocrate" version = "2.0.1" edition.workspace = true keywords.workspace = true authors.workspace = true license.workspace = true repository.workspace = true homepage.workspace = true readme.workspace = true description.workspace = true categories.workspace = true [features] default = ["octocrate-core/default-tls"] full = ["octocrate-types/full", "pagination", "chrono"] apps = ["octocrate-types/apps", "chrono"] actions = ["octocrate-types/actions"] activity = ["octocrate-types/activity"] billing = ["octocrate-types/billing"] checks = ["octocrate-types/checks"] code_scanning = ["octocrate-types/code_scanning"] codes_of_conduct = ["octocrate-types/codes_of_conduct"] emojis = ["octocrate-types/emojis"] dependabot = ["octocrate-types/dependabot"] dependency_graph = ["octocrate-types/dependency_graph"] gists = ["octocrate-types/gists"] git = ["octocrate-types/git"] gitignore = ["octocrate-types/gitignore"] 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"] projects = ["octocrate-types/projects"] pulls = ["octocrate-types/pulls"] rate_limit = ["octocrate-types/rate_limit"] reactions = ["octocrate-types/reactions"] repos = ["octocrate-types/repos"] search = ["octocrate-types/search"] secret_scanning = ["octocrate-types/secret_scanning"] teams = ["octocrate-types/teams"] users = ["octocrate-types/users"] codespaces = ["octocrate-types/codespaces"] copilot = ["octocrate-types/copilot"] security_advisories = ["octocrate-types/security_advisories"] interactions = ["octocrate-types/interactions"] classroom = ["octocrate-types/classroom"] desktop = ["octocrate-types/desktop"] webhooks = ["octocrate-types/webhooks"] pagination = ["octocrate-types/pagination", "octocrate-core/pagination"] rustls-tls = ["octocrate-core/rustls-tls"] [lib] doctest = false [dependencies] serde_json = { workspace = true } serde = { workspace = true, features = ["derive"] } octocrate-core = { workspace = true } octocrate-types = { workspace = true } typed-builder = { workspace = true } chrono = { workspace = true, optional = true } [dev-dependencies] tokio = { workspace = true, features = ["macros", "rt-multi-thread"] } dotenv = { workspace = true } [[example]] name = "commits" path = "examples/commits.rs" required-features = ["repos"] test = true [[example]] name = "repos" path = "examples/repos.rs" required-features = ["repos"] test = true [[example]] name = "users" path = "examples/users.rs" required-features = ["users"] test = true [[example]] name = "pulls" path = "examples/pulls.rs" required-features = ["pulls"] test = true [[example]] name = "apps" path = "examples/apps.rs" required-features = ["apps", "repos"] test = true [[example]] name = "issues" path = "examples/issues.rs" required-features = ["issues"] test = true [[example]] name = "search" path = "examples/search.rs" required-features = ["search"] test = true [[example]] name = "pagination" path = "examples/pagination.rs" required-features = ["pagination", "repos"] test = true