-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (77 loc) · 2.72 KB
/
Cargo.toml
File metadata and controls
87 lines (77 loc) · 2.72 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
# 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.
[workspace]
members = [
".",
"scripts",
"worker",
]
[workspace.package]
version = "1.1.0"
authors = ["Apache Software Foundation", "jmjoy <jmjoy@apache.org>", "Yanlong He <heyanlong@apache.org>"]
edition = "2024"
rust-version = "1.85"
repository = "https://github.com/apache/skywalking-php"
license = "Apache-2.0"
[workspace.dependencies]
bincode = { version = "2.0.1", features = ["serde"] }
rdkafka = { version = "0.38.0" }
tonic = { version = "0.12.3", features = ["tls-native-roots"] }
[package]
name = "skywalking-php"
version = { workspace = true }
authors = { workspace = true }
description = "Apache SkyWalking PHP Agent."
edition = { workspace = true }
rust-version = { workspace = true }
repository = { workspace = true }
license = { workspace = true }
readme = "README.md"
publish = false
[lib]
name = "skywalking_agent"
crate-type = ["lib", "cdylib"]
[features]
kafka-reporter = ["skywalking-php-worker/kafka-reporter"]
[dependencies]
anyhow = { version = "1.0.98", features = ["backtrace"] }
bincode = { workspace = true }
dashmap = "6.1.0"
futures-util = "0.3.31"
hostname = "0.4.1"
libc = "0.2.174"
once_cell = "1.21.3"
phper = "0.17.2"
prost = "0.14.1"
rdkafka = { workspace = true, optional = true }
skywalking = { version = "0.10.0", features = ["management"] }
skywalking-php-worker = { path = "worker" }
systemstat = "0.2.4"
thiserror = "2.0.12"
time = { version = "0.3", features = ["formatting"] }
tokio = { version = "1.46.1", features = ["full"] }
tokio-stream = "0.1.17"
tonic = { workspace = true }
tracing = { version = "0.1.41", features = ["attributes"] }
tracing-subscriber = { version = "0.3.19", features = ["env-filter", "time", "local-time"] }
url = "2.5.4"
[dev-dependencies]
axum = "0.8.4"
fastcgi-client = "0.9.0"
reqwest = { version = "0.12.22", features = ["trust-dns", "json", "stream"] }
[build-dependencies]
phper-build = "0.15.3"
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(phper_major_version, values("8"))'] }