-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
129 lines (116 loc) · 3.28 KB
/
Cargo.toml
File metadata and controls
129 lines (116 loc) · 3.28 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# SPDX-FileCopyrightText: 2026 ArcheBase
#
# SPDX-License-Identifier: MulanPSL-2.0
[workspace]
members = ["robocodec-cli"]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2024"
authors = ["Strata Contributors"]
license = "MulanPSL-2.0"
repository = "https://github.com/archebase/robocodec"
[workspace.dependencies]
# Shared dependencies across workspace members
[package]
name = "robocodec"
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
description = "High-performance robotics data codec library for reading, writing, and converting MCAP, ROS1 bag, and RRF2 files"
keywords = ["robotics", "mcap", "ros", "rosbag", "codec"]
categories = ["parser-implementations", "encoding", "science::robotics"]
readme = "README.md"
repository = "https://github.com/archebase/robocodec"
documentation = "https://docs.rs/robocodec"
[lib]
crate-type = ["rlib", "cdylib"]
[[example]]
name = "upload-fixtures"
path = "scripts/upload-fixtures.rs"
required-features = ["remote"]
[dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
pest = "2.7"
pest_derive = "2.7"
byteorder = "1.5"
memmap2 = "0.9"
prost = "0.13"
prost-types = "0.13"
prost-reflect = "0.14"
hex = "0.4"
toml = "0.8"
regex = "1.10"
rayon = "1.10"
crossbeam-channel = "0.5"
crossbeam = "0.8"
crossbeam-queue = "0.3"
libc = "0.2"
num_cpus = "1.16"
zstd = "0.13"
lz4_flex = "0.11"
bzip2 = "0.4"
crc32fast = "1.4"
mcap = { version = "0.24", features = ["zstd", "lz4"] }
rosbag = "0.6"
bytemuck = "1.15"
chrono = "0.4"
tracing = "0.1"
uuid = { version = "1.10", features = ["v4", "serde"] }
tikv-jemallocator = { version = "0.6", optional = true }
pyo3 = { version = "0.25", features = ["abi3-py311", "extension-module"], optional = true }
# Remote storage support (gated behind remote feature)
reqwest = { version = "0.12", features = ["rustls-tls"], default-features = false, optional = true }
bytes = { version = "1.6", optional = true }
tokio = { version = "1.40", features = ["rt-multi-thread", "time"], default-features = false, optional = true }
http = { version = "1.1", optional = true }
hmac = { version = "0.12", optional = true }
sha2 = { version = "0.10", optional = true }
async-trait = { version = "0.1", optional = true }
futures = { version = "0.3", optional = true }
url = { version = "2.5", optional = true }
once_cell = { version = "1.19", optional = true }
# AWS SDK for S3 (already gated)
aws-config = { version = "1.5", features = ["behavior-version-latest"], default-features = false, optional = true }
aws-credential-types = { version = "1.2", default-features = false, optional = true }
percent-encoding = { version = "2.3.2", optional = true }
[features]
default = ["remote"]
python = ["pyo3"]
jemalloc = ["dep:tikv-jemallocator"]
remote = [
"aws-config",
"aws-credential-types",
"reqwest",
"bytes",
"tokio",
"http",
"hmac",
"sha2",
"async-trait",
"futures",
"url",
"once_cell",
"percent-encoding",
]
[dev-dependencies]
proptest = "1.4"
wiremock = "0.6"
tokio-test = "0.4"
tempfile = "3.10"
criterion = "0.5"
[[bench]]
name = "decoder_bench"
harness = false
[[bench]]
name = "reader_bench"
harness = false
[[bench]]
name = "large_file_bench"
harness = false
[[bench]]
name = "rewriter_bench"
harness = false