diff options
author | Casper <casperneo@uchicago.edu> | 2020-06-18 00:01:48 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 00:01:48 -0700 |
commit | 12ddc8a92037e879c86b49167d3ecffd28ca2ae9 (patch) | |
tree | d8b4ba07fd3303766bfeea3434a1ae968a6dd8c9 /tests/rust_usage_test/Cargo.toml | |
parent | 24ad35709d9a2984a56c572538511b10ce0f3642 (diff) | |
download | flatbuffers-12ddc8a92037e879c86b49167d3ecffd28ca2ae9.tar.gz flatbuffers-12ddc8a92037e879c86b49167d3ecffd28ca2ae9.tar.bz2 flatbuffers-12ddc8a92037e879c86b49167d3ecffd28ca2ae9.zip |
Rust Flexbuffers Documentation update (#5979)
* Update samples and docs
* Fixed a line of documentation
Co-authored-by: Casper Neo <cneo@google.com>
Diffstat (limited to 'tests/rust_usage_test/Cargo.toml')
-rw-r--r-- | tests/rust_usage_test/Cargo.toml | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/tests/rust_usage_test/Cargo.toml b/tests/rust_usage_test/Cargo.toml index e02b0b74..406c7282 100644 --- a/tests/rust_usage_test/Cargo.toml +++ b/tests/rust_usage_test/Cargo.toml @@ -6,6 +6,8 @@ authors = ["Robert Winslow <hello@rwinslow.com>", "FlatBuffers Maintainers"] [dependencies] flatbuffers = { path = "../../rust/flatbuffers" } flexbuffers = { path = "../../rust/flexbuffers" } +serde_derive = "1.0" +serde = "1.0" [[bin]] name = "monster_example" @@ -19,13 +21,19 @@ path = "bin/flatbuffers_alloc_check.rs" name = "flexbuffers_alloc_check" path = "bin/flexbuffers_alloc_check.rs" +[[bin]] +name = "sample_flexbuffers" +path = "../../samples/sample_flexbuffers.rs" + +[[bin]] +name = "sample_flexbuffers_serde" +path = "../../samples/sample_flexbuffers_serde.rs" + [dev-dependencies] quickcheck = "0.6" # TODO(rw): look into moving to criterion.rs bencher = "0.1.5" static_assertions = "1.0.0" -serde_derive = "*" -serde = "*" rand = "*" quickcheck_derive = "*" |