Files
google-apis-rs/etc/api/type-api.yaml
Kyle Gentle c5ff239961 feat(Hub): Support custom connectors
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.
2022-06-01 21:12:32 -04:00

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"