worker/Cargo.toml (46 lines of code) (raw):

# Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. [package] name = "skywalking-php-worker" version = { workspace = true } authors = { workspace = true } description = "Apache SkyWalking PHP Worker." edition = { workspace = true } rust-version = { workspace = true } repository = { workspace = true } license = { workspace = true } readme = "README.md" publish = false [features] standalone = ["clap", "tracing-subscriber"] kafka-reporter = ["skywalking/kafka-reporter", "rdkafka/sasl"] [dependencies] anyhow = { version = "1.0.97", features = ["backtrace"] } bincode = { workspace = true } clap = { version = "4.5.36", features = ["derive"], optional = true } libc = "0.2.171" once_cell = "1.21.3" prost = "0.13.5" rdkafka = { version = "0.37.0", optional = true } serde_json = { version = "1.0.140", features = ["preserve_order"] } skywalking = { version = "0.9.0", features = ["management"] } tokio = { version = "1.44.2", features = ["full"] } tokio-stream = "0.1.17" tonic = { version = "0.12.0", features = ["tls-native-roots"] } tracing = { version = "0.1.41", features = ["attributes", "log"] } tracing-subscriber = { version = "0.3.19", features = ["env-filter"], optional = true } [[bin]] name = "skywalking-php-worker" required-features = ["standalone", "kafka-reporter"]