• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "rust_usage_test"
3version = "0.1.0"
4authors = ["Robert Winslow <hello@rwinslow.com>",
5           "Casper Neo <cneo@google.com>",
6           "FlatBuffers Maintainers"]
7
8[dependencies]
9flatbuffers = { path = "../../rust/flatbuffers" }
10flexbuffers = { path = "../../rust/flexbuffers" }
11serde_derive = "1.0"
12serde = "1.0"
13serde_bytes = "0.11"
14
15[[bin]]
16name = "monster_example"
17path = "bin/monster_example.rs"
18
19[[bin]]
20name = "flatbuffers_alloc_check"
21path = "bin/flatbuffers_alloc_check.rs"
22
23[[bin]]
24name = "flexbuffers_alloc_check"
25path = "bin/flexbuffers_alloc_check.rs"
26
27[[bin]]
28name = "sample_flexbuffers"
29path = "../../samples/sample_flexbuffers.rs"
30
31[[bin]]
32name = "sample_flexbuffers_serde"
33path = "../../samples/sample_flexbuffers_serde.rs"
34
35[[bin]]
36name = "sample_flatbuffers"
37path = "../../samples/sample_binary.rs"
38
39[dev-dependencies]
40quickcheck = "0.6"
41# TODO(rw): look into moving to criterion.rs
42bencher = "0.1.5"
43static_assertions = "1.0.0"
44rand = "*"
45quickcheck_derive = "*"
46array-init = "2.0"
47
48[[bench]]
49# setup for bencher
50name = "benchmarks"
51harness = false
52