feat(mako): cargo.toml template

It's quite final, and super easy to change and to read.

It seems we want to use namespaces/shared implementations soon to allow
using defs. In our case, we transform the version in a particular way,
which is easy enough, yet I'd like to use it to make the system more
powerful.
This commit is contained in:
Sebastian Thiel
2015-03-01 18:31:55 +01:00
parent 2d77857aaf
commit be938255bd
3 changed files with 16 additions and 12 deletions

View File

@@ -1,13 +1,13 @@
# Contains values shared among all API implementations
directories:
# directory under which all generated sources should reside
output: ./generated
output: generated
# how to get from `output` back to common library
common: ../
# where are all the API meta files
api_base: ./etc/api
api_base: etc/api
# all mako source files
mako_src: ./src/mako
mako_src: src/mako
api:
list:
- name: youtube
@@ -19,8 +19,10 @@ api:
# output_dir: optional - not there if unset
cargo:
build_version: "0.0.1"
repo_base_url: https://github.com/Byron/youtube-rs
doc_base_url: http://byron.github.io/youtube-rs
authors:
- Sebastian Thiel <byronimo@gmail>
keywords: [google, protocol]
keywords: [google, protocol, web, api]
# All APIs should live in the same repository
repository_url: https://github.com/Byron/youtube-rs