xref: /aosp_15_r20/external/flatbuffers/rust/flatbuffers/Cargo.toml (revision 890232f25432b36107d06881e0a25aaa6b473652)
1[package]
2name = "flatbuffers"
3version = "2.1.2"
4edition = "2018"
5authors = ["Robert Winslow <[email protected]>", "FlatBuffers Maintainers"]
6license = "Apache-2.0"
7description = "Official FlatBuffers Rust runtime library."
8homepage = "https://google.github.io/flatbuffers/"
9repository = "https://github.com/google/flatbuffers"
10keywords = ["flatbuffers", "serialization", "zero-copy"]
11categories = ["encoding", "data-structures", "memory-management"]
12rust = "1.51"
13
14[features]
15default = ["thiserror"]
16no_std = ["core2", "thiserror_core2"]
17serialize = ["serde"]
18
19[dependencies]
20smallvec = "1.6.1"
21bitflags = "1.2.1"
22serde = { version = "1.0", optional = true }
23thiserror = { version = "1.0.30", optional = true }
24core2 = { version = "0.4.0", optional = true }
25# This version is compliant with mainline 1.0.30
26thiserror_core2 = { version = "2.0.0", default-features = false, optional = true }
27