2026년 7월 21일 화요일

Cargo.toml



# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
# rustup update
# cargo update

[package]
name = "sheets"
version = "0.1.0"
edition = "2024"
default-run = "sheets"

[[bin]]
name = "sheets"
path = "src/main.rs"

[profile.dev.package.backtrace]
opt-level = 3

[dependencies]
tokio = { version = "1", features = ["full"] }
futures = "0.3"
itertools = "0.12"

serde = "1"
serde_json = "1"

rustls = { version = "0.23", default-features = false, features = ["aws-lc-rs", "logging", "tls12"] }

google-sheets4 = "*"
yup-oauth2 = "12"
Inflector = "0.11.4"




database.py

import os from contextlib import contextmanager # contextmanager 임포트 from typing import Generator from dotenv...