[package]
edition = "2021"
rust-version = "1.86"
name = "canvas-lms-api"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust client for the Instructure Canvas LMS REST API"
documentation = "https://docs.rs/canvas-lms-api"
readme = "README.md"
keywords = [
"canvas",
"lms",
"education",
"api-client",
]
categories = [
"api-bindings",
"web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/RobertConde/canvas-lms-api"
[features]
async = [
"dep:tokio",
"dep:futures",
"dep:async-stream",
]
blocking = ["dep:tokio"]
default = ["async"]
full = [
"new-quizzes",
"graphql",
]
graphql = []
new-quizzes = []
[lib]
name = "canvas_lms_api"
path = "src/lib.rs"
[[test]]
name = "account_methods_test"
path = "tests/account_methods_test.rs"
[[test]]
name = "appointment_group_test"
path = "tests/appointment_group_test.rs"
[[test]]
name = "blocking_test"
path = "tests/blocking_test.rs"
[[test]]
name = "calendar_event_test"
path = "tests/calendar_event_test.rs"
[[test]]
name = "canvas_test"
path = "tests/canvas_test.rs"
[[test]]
name = "collaboration_test"
path = "tests/collaboration_test.rs"
[[test]]
name = "content_export_test"
path = "tests/content_export_test.rs"
[[test]]
name = "conversation_test"
path = "tests/conversation_test.rs"
[[test]]
name = "course_methods_test"
path = "tests/course_methods_test.rs"
[[test]]
name = "course_test"
path = "tests/course_test.rs"
[[test]]
name = "enrollment_term_test"
path = "tests/enrollment_term_test.rs"
[[test]]
name = "eportfolio_test"
path = "tests/eportfolio_test.rs"
[[test]]
name = "error_test"
path = "tests/error_test.rs"
[[test]]
name = "feature_test"
path = "tests/feature_test.rs"
[[test]]
name = "grade_change_log_test"
path = "tests/grade_change_log_test.rs"
[[test]]
name = "grading_period_test"
path = "tests/grading_period_test.rs"
[[test]]
name = "grading_standard_test"
path = "tests/grading_standard_test.rs"
[[test]]
name = "graphql_test"
path = "tests/graphql_test.rs"
[[test]]
name = "jwt_test"
path = "tests/jwt_test.rs"
[[test]]
name = "lti_resource_link_test"
path = "tests/lti_resource_link_test.rs"
[[test]]
name = "new_quizzes_test"
path = "tests/new_quizzes_test.rs"
[[test]]
name = "pagination_test"
path = "tests/pagination_test.rs"
[[test]]
name = "planner_test"
path = "tests/planner_test.rs"
[[test]]
name = "poll_test"
path = "tests/poll_test.rs"
[[test]]
name = "resource_methods_test"
path = "tests/resource_methods_test.rs"
[[test]]
name = "role_test"
path = "tests/role_test.rs"
[[test]]
name = "upload_test"
path = "tests/upload_test.rs"
[[test]]
name = "user_channels_test"
path = "tests/user_channels_test.rs"
[[test]]
name = "user_methods_test"
path = "tests/user_methods_test.rs"
[dependencies.async-stream]
version = "0.3"
optional = true
[dependencies.canvas-lms-api-derive]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.futures]
version = "0.3"
optional = true
[dependencies.reqwest]
version = "0.12"
features = [
"json",
"multipart",
]
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = ["full"]
optional = true
[dependencies.tracing]
version = "0.1"
[dependencies.url]
version = "2"
[dev-dependencies.serde_json]
version = "1"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.wiremock]
version = "0.6"