fix(api): first big step towards syntex

Even though there is a bug that caues {} to be used in stead of
(),
when exanding macros, which causes syntax errors that we have to
workaround, it's not a real issue.

What's happening additionally is missing hyper macros, which
now have to be expanded manually. Shouldn't be a problem,
pretty-printing when compiling is made for just that ;).

No, it's sad that `include!()` works so badly, it makes
using serde so difficult ... it's no fun i must say.

Just for stable ... I am not sure if it is worth it."
This commit is contained in:
Sebastian Thiel
2015-06-18 22:51:17 +02:00
parent 267868cea3
commit b0a41c4e78
14 changed files with 392 additions and 1294 deletions

View File

@@ -18,11 +18,14 @@ make:
- source: README.md
- source: ../LICENSE.md
- source: ../Cargo.toml
- source: lib.rs.in
output_dir: src
- source: lib.rs
output_dir: src
- source: build.rs
output_dir: src
cargo:
build_version: "0.1.7"
keywords: [protocol, web, api]
dependencies:
- url = "*"
- json-tools = ">= 0.3.0"