Skip to content

Commit

Permalink
Serde benchmark format
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Nov 10, 2016
0 parents commit 0e8a24a
Show file tree
Hide file tree
Showing 7 changed files with 832 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/target
/Cargo.lock
14 changes: 14 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "serde-bench"
version = "0.0.1"
authors = ["David Tolnay <[email protected]>"]
license = "MIT/Apache-2.0"
description = "Minimal serialization format for benchmarking Serde"
repository = "https://github.com/serde-rs/bench"
documentation = "https://docs.rs/serde-bench/"
include = ["Cargo.toml", "src/**/*.rs"]

[dependencies]
byteorder = "0.5"
num-traits = "0.1"
serde = "0.8"
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# serde-bench

A minimal serialization format for use in benchmarks of core Serde. The format
closely resembles Bincode but without length prefixes for fixed-sized arrays,
which Bincode has only to maintain compatibility with rustc-serialize.

## License

Serde is licensed under either of

* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or
http://opensource.org/licenses/MIT)

at your option.

### Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in Serde by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.
Loading

0 comments on commit 0e8a24a

Please sign in to comment.