mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2025-12-26 17:02:24 +01:00
Switch the constraints on Hub types to use public traits based on tower::service, as recommended by Hyper. This enables support for custom connectors beyond hyper_rustls::HttpsConnector Closes #337.
34 lines
808 B
YAML
34 lines
808 B
YAML
api:
|
|
base_path: "etc/api"
|
|
properties:
|
|
# additional fields specified by the user
|
|
params: "_additional_params"
|
|
# custom scopes for authentication
|
|
scopes: "_scopes"
|
|
make:
|
|
id: api
|
|
target_name: APIs
|
|
target_suffix: ""
|
|
aggregated_target_suffix: -api
|
|
depends_on_suffix:
|
|
global_targets: Yes
|
|
documentation_engine: rustdoc
|
|
templates:
|
|
# all output directories are relative to the one set for the respective API
|
|
- source: README.md
|
|
- source: ../LICENSE.md
|
|
- source: ../Cargo.toml
|
|
- source: lib.rs
|
|
output_dir: src
|
|
- source: api.rs
|
|
output_dir: src
|
|
cargo:
|
|
keywords: [protocol, web, api]
|
|
doc_base_url: https://docs.rs
|
|
dependencies:
|
|
- hyper = "^ 0.14"
|
|
- http = "^0.2"
|
|
- tokio = "^1.0"
|
|
- tower-service = "^0.3.1"
|
|
- url = "= 1.7"
|