Skip to content

BSON Macro + Moved tests to separate module #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 3, 2015
Merged

Conversation

kyeah
Copy link
Contributor

@kyeah kyeah commented Jul 3, 2015

Also added some From traits for u32, u64, and f32.

Tests should be run single-threaded since the OID unit tests use a static OID_COUNTER variable.
export RUST_TEST_THREADS=1

kyeah added a commit that referenced this pull request Jul 3, 2015
BSON Macro + Moved tests to separate module
@kyeah kyeah merged commit fd332ca into mongodb:master Jul 3, 2015
@zonyitoo
Copy link
Contributor

zonyitoo commented Jul 4, 2015

This macro is very useful!

@kyeah
Copy link
Contributor Author

kyeah commented Jul 4, 2015

Yep! It still needs a little work to support arrays of documents and remove the parentheses at the root level ("key" => "value" instead of "key" => ("value")), but it's super awesome. Credit to @saghm :)

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