6 个版本
| 0.1.5 | 2021 年 5 月 6 日 |
|---|---|
| 0.1.4 | 2021 年 5 月 6 日 |
| 0.1.2 | 2021 年 1 月 19 日 |
| 0.1.1 | 2020 年 12 月 31 日 |
#4 in #cio
每月 867 次下载
34KB
775 行
cio
为执行 CIO 活动提供辅助函数和类型。
配置
运行时标志
可以通过环境变量控制特定的运行时行为。默认情况下禁用标志,将变量设置为 true 将启用该功能。
| 标志 | 描述 |
|---|---|
| RFD_PDFS_IN_GITHUB | 启用将渲染的 RFD PDFs 返回到其源仓库 |
| RFD_PDFS_IN_GOOGLE_DRIVE | 启用将渲染的 RFD PDFs 写入 Google Drive |
此应用程序服务器及其所有周边的架构为

lib.rs:
- 与 Geocode API 交互的 Rust 库。
- 有关更多信息,Geocode API 文档可在以下位置找到
- https://developers.google.com/maps/documentation/geocoding/overview
- 示例
-
- use google_geocode::Geocode;
- use serde::{Deserialize, Serialize};
- async fn geocode() {
-
// Initialize the Geocode client. -
let geocode = Geocode::new_from_env(); -
// Get geolocation data. -
let g = geocode.get("some address").await.unwrap(); -
println!("{:?}", g); - }
-
依赖关系
~3–15MB
~229K SLoC