forked from quackscience/duckdb-extension-pcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
29 lines (25 loc) · 760 Bytes
/
Cargo.toml
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
[package]
name = "pcap_reader"
version = "0.1.1"
edition = "2021"
[lib]
crate-type = ["cdylib"]
# crate-type = ["staticlib", "cdylib"]
[profile.release]
lto = true
strip = true
[[example]]
# crate-type can't be (at the moment) be overriden for specific targets
# src/wasm_lib.rs forwards to src/lib.rs so that we can change from cdylib
# (that is needed while compiling natively) to staticlib (needed since the
# actual linking will be done via emcc
name = "pcap_reader"
path = "src/wasm_lib.rs"
crate-type = ["staticlib"]
[dependencies]
duckdb = { version = "1.1.1", features = ["vtab-loadable"] }
duckdb-loadable-macros = "0.1.3"
libduckdb-sys = { version = "1.1.1", features = ["loadable-extension"] }
pcap-parser = "0.16.0"
hex = "0.4"
ehttp = "0.5.0"