-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
51 lines (46 loc) · 1.6 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "spin-leptos-otel"
authors = ["Darwin Boersma <[email protected]>"]
description = ""
version = "0.1.0"
edition = "2021"
[lib]
crate-type = [ "cdylib" ]
[dependencies]
console_error_panic_hook = "0.1"
leptos = { version = "0.7.0-rc1" }
leptos_meta = { version = "0.7.0-rc1" }
leptos_router = { version = "0.7.0-rc1" }
leptos_wasi = { git = "https://github.com/leptos-rs/leptos_wasi", rev = "249cf889b193785621170089b5fa964d47a43eea", optional = true }
leptos-chartistry = { git = "https://github.com/feral-dot-io/leptos-chartistry", branch = "leptos_0_7" }
spin-sdk = { version = "3", optional = true }
wasi = { version = "0.13", optional = true }
wasm-bindgen = { version = "0.2", optional = true }
opentelemetry-proto = { version = "0.27", default-features = false, features = ["gen-tonic-messages", "logs", "metrics", "trace"], optional = true }
prost = { version = "0.13", default-features = false, optional = true}
prost-types = { version = "0.13", default-features = false, optional = true }
[workspace]
[features]
csr = ["leptos/csr"]
hydrate = ["leptos/hydrate", "dep:wasm-bindgen"]
ssr = [
"leptos/ssr",
"leptos_meta/ssr",
"leptos_router/ssr",
"leptos-chartistry/ssr",
"leptos/spin",
"dep:spin-sdk",
"dep:leptos_wasi",
"dep:wasi",
"dep:opentelemetry-proto",
"dep:prost",
"dep:prost-types"
]
[package.metadata.leptos]
# The name used by wasm-bindgen/cargo-leptos for the JS/WASM bundle. Defaults to the crate name
output-name = "spin_leptos_otel"
style-file = "style/main.scss"
bin-features = ["ssr"]
bin-default-features = false
lib-features = ["hydrate"]
lib-default-features = false