File: Cargo.toml

package info (click to toggle)
golang-github-google-flatbuffers 24.12.23-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 17,704 kB
  • sloc: cpp: 53,217; python: 6,900; cs: 5,566; java: 4,370; php: 1,460; javascript: 1,061; xml: 1,016; sh: 886; makefile: 13
file content (58 lines) | stat: -rw-r--r-- 1,269 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[package]
name = "rust_usage_test"
version = "0.1.0"
authors = ["Robert Winslow <hello@rwinslow.com>",
           "Casper Neo <cneo@google.com>",
           "FlatBuffers Maintainers"]
edition = "2018"

[dependencies]
flatbuffers = { path = "../../rust/flatbuffers", default-features = false }
flexbuffers = { path = "../../rust/flexbuffers" }
serde_derive = "1.0"
serde = "1.0"
serde_bytes = "0.11"
libc_alloc = { version = "1.0.3", optional = true }

[features]
default = ["flatbuffers/default"]
no_std = ["libc_alloc"]

[[bin]]
name = "monster_example"
path = "bin/monster_example.rs"

[[bin]]
name = "flatbuffers_alloc_check"
path = "bin/flatbuffers_alloc_check.rs"

[[bin]]
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"

[[bin]]
name = "sample_flatbuffers"
path = "../../samples/sample_binary.rs"

[dev-dependencies]
quickcheck = "0.6"
# TODO(rw): look into moving to criterion.rs
serde = "1.0"
bencher = "0.1.5"
static_assertions = "1.0.0"
rand = "*"
quickcheck_derive = "*"
array-init = "2.0"

[[bench]]
# setup for bencher
name = "benchmarks"
harness = false