Skip to content

Add optional serialization with serde - #118

Merged
SimonSapin merged 1 commit into
servo:masterfrom
pcwalton:serde
Jul 10, 2015
Merged

SimonSapin merged 1 commit into
servo:masterfrom
pcwalton:serde

Conversation

@pcwalton

Copy link
Copy Markdown
Contributor

@SimonSapin

Copy link
Copy Markdown
Member

Please make a few changes:

  • Use a _ in the feature name, to be consistent with query_encoding. (Or change query_encoding to use -, I’d be surprised if anyone uses it.)
  • Add #[cfg(…)] attributes on both impls.
  • Add doc-comments like this one to both implss.
  • Add a line to Makefile so that Travis tests both with and without this feature. (Travis runs make test.)
  • Change the cargo doc line in Makefile so that all features are enabled. According to cargo help doc, the value for --features is space-separated.

@pcwalton

Copy link
Copy Markdown
Contributor Author

@SimonSapin Done. r?

@SimonSapin

Copy link
Copy Markdown
Member

@bors-servo r+

SimonSapin added a commit that referenced this pull request Jul 10, 2015
Add optional serialization with `serde`
@SimonSapin
SimonSapin merged commit 5f8e323 into servo:master Jul 10, 2015
@SimonSapin

Copy link
Copy Markdown
Member

v0.2.36 is on crates.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants