Skip to content

Commit

Permalink
Copy and update opentelemetry-jaeger/Cargo.toml to opentelemetry-jaeg…
Browse files Browse the repository at this point in the history
…er-propagator/Cargo.toml
  • Loading branch information
mattbodd committed Jan 22, 2024
1 parent 6b5ef34 commit 85edd8f
Showing 1 changed file with 149 additions and 1 deletion.
150 changes: 149 additions & 1 deletion opentelemetry-jaeger-propagator/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,156 @@
[package]
name = "opentelemetry-jaeger-propagator"
version = "0.1.0"
description = "Jaeger propagator for OpenTelemetry"
homepage = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-jaeger-propagator"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-jaeger-propagator"
readme = "README.md"
categories = [
"development-tools::debugging",
"development-tools::profiling",
"asynchronous",
]
keywords = ["opentelemetry", "jaeger", "tracing", "async"]
license = "Apache-2.0"
edition = "2021"
rust-version = "1.65"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[dependencies]
async-std = { workspace = true, optional = true }
async-trait = { workspace = true }
base64 = { version = "0.21.0", optional = true }
headers = { version = "0.3.2", optional = true }
http = { workspace = true, optional = true }
hyper = { workspace = true, default-features = false, features = [
"client",
], optional = true }
hyper-tls = { version = "0.5.0", default-features = false, optional = true }
isahc = { workspace = true, default-features = false, optional = true }
js-sys = { version = "0.3", optional = true }
opentelemetry = { version = "0.21", default-features = false, features = [
"trace",
], path = "../opentelemetry" }
opentelemetry_sdk = { version = "0.21", default-features = false, features = [
"trace",
], path = "../opentelemetry-sdk" }
opentelemetry-http = { version = "0.10", path = "../opentelemetry-http", optional = true }
opentelemetry-semantic-conventions = { version = "0.13", path = "../opentelemetry-semantic-conventions" }
pin-project-lite = { workspace = true, optional = true }
reqwest = { workspace = true, default-features = false, optional = true }
surf = { workspace = true, optional = true }
thrift = "0.17.0"
tokio = { workspace = true, features = ["net", "sync"], optional = true }
wasm-bindgen = { version = "0.2", optional = true }
wasm-bindgen-futures = { version = "0.4.18", optional = true }

tonic = { workspace = true, optional = true }
prost = { version = "0.11.6", optional = true }
prost-types = { version = "0.11.6", optional = true }

# Futures
futures-executor = { workspace = true, default-features = false, features = [
"std",
], optional = true }
futures-core = { workspace = true }
futures-util = { workspace = true, default-features = false, features = [
"std",
"alloc",
] }

[dev-dependencies]
tokio = { workspace = true, features = ["net", "sync"] }
bytes = { workspace = true }
futures-executor = { workspace = true }
opentelemetry_sdk = { features = [
"trace",
"testing",
"rt-tokio",
], path = "../opentelemetry-sdk" }

[dependencies.web-sys]
version = "0.3.4"
features = [
'Headers',
'Request',
'RequestCredentials',
'RequestInit',
'RequestMode',
'Response',
'Window',
]
optional = true

[features]
full = [
"collector_client",
"hyper_collector_client",
"hyper_tls_collector_client",
"isahc_collector_client",
"reqwest_collector_client",
"reqwest_blocking_collector_client",
"reqwest_rustls_collector_client",
"surf_collector_client",
"wasm_collector_client",
"rt-tokio",
"rt-tokio-current-thread",
"rt-async-std",
"integration_test",
]
default = []
collector_client = ["http", "opentelemetry-http"]
hyper_collector_client = [
"collector_client",
"headers",
"http",
"hyper",
"opentelemetry-http/tokio",
"opentelemetry-http/hyper",
]
hyper_tls_collector_client = ["hyper_collector_client", "hyper-tls"]
isahc_collector_client = ["isahc", "opentelemetry-http/isahc"]
reqwest_blocking_collector_client = [
"reqwest/blocking",
"collector_client",
"headers",
"opentelemetry-http/reqwest",
]
reqwest_collector_client = [
"reqwest",
"collector_client",
"headers",
"opentelemetry-http/reqwest",
]
reqwest_rustls_collector_client = [
"reqwest_collector_client",
"reqwest/rustls-tls-native-roots",
]
surf_collector_client = ["surf", "collector_client", "opentelemetry-http/surf"]
wasm_collector_client = [
"base64",
"http",
"js-sys",
"pin-project-lite",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
]
rt-tokio = ["tokio", "opentelemetry_sdk/rt-tokio"]
rt-tokio-current-thread = ["tokio", "opentelemetry_sdk/rt-tokio-current-thread"]
rt-async-std = ["async-std", "opentelemetry_sdk/rt-async-std"]
integration_test = [
"tonic",
"prost",
"prost-types",
"rt-tokio",
"collector_client",
"hyper_collector_client",
"hyper_tls_collector_client",
"reqwest_collector_client",
"surf_collector_client",
"isahc_collector_client",
]

0 comments on commit 85edd8f

Please sign in to comment.