# 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 = "notion-client"
version = "1.0.5"
authors = ["Takashi Kasai <takassh23@gmail.com>"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Notion API Client for Rust"
readme = "README.md"
license = "MIT"
repository = "https://github.com/takassh/notion-client"

[lib]
name = "notion_client"
path = "src/lib.rs"

[[example]]
name = "list_all_users"
path = "examples/list_all_users.rs"

[[example]]
name = "query_a_database"
path = "examples/query_a_database.rs"

[[example]]
name = "retrieve_a_block"
path = "examples/retrieve_a_block.rs"

[[example]]
name = "retrieve_a_page"
path = "examples/retrieve_a_page.rs"

[[example]]
name = "search_by_title"
path = "examples/search_by_title.rs"

[dependencies.chrono]
version = "0.4.33"
features = ["serde"]

[dependencies.derive_builder]
version = "0.20.0"

[dependencies.reqwest]
version = "0.11.24"

[dependencies.serde]
version = "1.0.196"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.113"

[dependencies.serde_with]
version = "3.6.1"
features = ["macros"]

[dependencies.thiserror]
version = "1.0.56"

[dependencies.urlencoding]
version = "2.1.3"

[dev-dependencies.tokio]
version = "1.10.0"
features = ["full"]