Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: try reduce axum deps #102

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

build: try reduce axum deps #102

wants to merge 1 commit into from

Conversation

tisonkun
Copy link
Contributor

cargo tree --features=opentelemetry --edges normal
logforth v0.22.0 (/Users/tison/Brittani/logforth)
├── anyhow v1.0.95
├── colored v3.0.0
├── env_filter v0.1.3
│   ├── log v0.4.25
│   └── regex v1.11.1
│       ├── aho-corasick v1.1.3
│       │   └── memchr v2.7.4
│       ├── memchr v2.7.4
│       ├── regex-automata v0.4.9
│       │   ├── aho-corasick v1.1.3 (*)
│       │   ├── memchr v2.7.4
│       │   └── regex-syntax v0.8.5
│       └── regex-syntax v0.8.5
├── jiff v0.2.0
├── log v0.4.25
├── opentelemetry v0.28.0
│   ├── futures-core v0.3.31
│   ├── futures-sink v0.3.31
│   ├── pin-project-lite v0.2.16
│   ├── thiserror v2.0.11
│   │   └── thiserror-impl v2.0.11 (proc-macro)
│   │       ├── proc-macro2 v1.0.93
│   │       │   └── unicode-ident v1.0.16
│   │       ├── quote v1.0.38
│   │       │   └── proc-macro2 v1.0.93 (*)
│   │       └── syn v2.0.98
│   │           ├── proc-macro2 v1.0.93 (*)
│   │           ├── quote v1.0.38 (*)
│   │           └── unicode-ident v1.0.16
│   └── tracing v0.1.41
│       ├── pin-project-lite v0.2.16
│       ├── tracing-attributes v0.1.28 (proc-macro)
│       │   ├── proc-macro2 v1.0.93 (*)
│       │   ├── quote v1.0.38 (*)
│       │   └── syn v2.0.98 (*)
│       └── tracing-core v0.1.33
│           └── once_cell v1.20.3
├── opentelemetry-otlp v0.28.0
│   ├── async-trait v0.1.86 (proc-macro)
│   │   ├── proc-macro2 v1.0.93 (*)
│   │   ├── quote v1.0.38 (*)
│   │   └── syn v2.0.98 (*)
│   ├── futures-core v0.3.31
│   ├── http v1.2.0
│   │   ├── bytes v1.10.0
│   │   ├── fnv v1.0.7
│   │   └── itoa v1.0.14
│   ├── opentelemetry v0.28.0 (*)
│   ├── opentelemetry-http v0.28.0
│   │   ├── async-trait v0.1.86 (proc-macro) (*)
│   │   ├── bytes v1.10.0
│   │   ├── http v1.2.0 (*)
│   │   ├── opentelemetry v0.28.0 (*)
│   │   └── tracing v0.1.41 (*)
│   ├── opentelemetry-proto v0.28.0
│   │   ├── base64 v0.22.1
│   │   ├── hex v0.4.3
│   │   ├── opentelemetry v0.28.0 (*)
│   │   ├── opentelemetry_sdk v0.28.0
│   │   │   ├── async-trait v0.1.86 (proc-macro) (*)
│   │   │   ├── futures-channel v0.3.31
│   │   │   │   └── futures-core v0.3.31
│   │   │   ├── futures-executor v0.3.31
│   │   │   │   ├── futures-core v0.3.31
│   │   │   │   ├── futures-task v0.3.31
│   │   │   │   └── futures-util v0.3.31
│   │   │   │       ├── futures-core v0.3.31
│   │   │   │       ├── futures-macro v0.3.31 (proc-macro)
│   │   │   │       │   ├── proc-macro2 v1.0.93 (*)
│   │   │   │       │   ├── quote v1.0.38 (*)
│   │   │   │       │   └── syn v2.0.98 (*)
│   │   │   │       ├── futures-sink v0.3.31
│   │   │   │       ├── futures-task v0.3.31
│   │   │   │       ├── pin-project-lite v0.2.16
│   │   │   │       ├── pin-utils v0.1.0
│   │   │   │       └── slab v0.4.9
│   │   │   ├── futures-util v0.3.31 (*)
│   │   │   ├── glob v0.3.2
│   │   │   ├── opentelemetry v0.28.0 (*)
│   │   │   ├── percent-encoding v2.3.1
│   │   │   ├── rand v0.8.5
│   │   │   │   ├── libc v0.2.169
│   │   │   │   ├── rand_chacha v0.3.1
│   │   │   │   │   ├── ppv-lite86 v0.2.20
│   │   │   │   │   │   └── zerocopy v0.7.35
│   │   │   │   │   │       ├── byteorder v1.5.0
│   │   │   │   │   │       └── zerocopy-derive v0.7.35 (proc-macro)
│   │   │   │   │   │           ├── proc-macro2 v1.0.93 (*)
│   │   │   │   │   │           ├── quote v1.0.38 (*)
│   │   │   │   │   │           └── syn v2.0.98 (*)
│   │   │   │   │   └── rand_core v0.6.4
│   │   │   │   │       └── getrandom v0.2.15
│   │   │   │   │           ├── cfg-if v1.0.0
│   │   │   │   │           └── libc v0.2.169
│   │   │   │   └── rand_core v0.6.4 (*)
│   │   │   ├── serde_json v1.0.138
│   │   │   │   ├── itoa v1.0.14
│   │   │   │   ├── memchr v2.7.4
│   │   │   │   ├── ryu v1.0.19
│   │   │   │   └── serde v1.0.217
│   │   │   │       └── serde_derive v1.0.217 (proc-macro)
│   │   │   │           ├── proc-macro2 v1.0.93 (*)
│   │   │   │           ├── quote v1.0.38 (*)
│   │   │   │           └── syn v2.0.98 (*)
│   │   │   ├── thiserror v2.0.11 (*)
│   │   │   ├── tokio v1.43.0
│   │   │   │   ├── bytes v1.10.0
│   │   │   │   ├── libc v0.2.169
│   │   │   │   ├── mio v1.0.3
│   │   │   │   │   └── libc v0.2.169
│   │   │   │   ├── pin-project-lite v0.2.16
│   │   │   │   ├── socket2 v0.5.8
│   │   │   │   │   └── libc v0.2.169
│   │   │   │   └── tokio-macros v2.5.0 (proc-macro)
│   │   │   │       ├── proc-macro2 v1.0.93 (*)
│   │   │   │       ├── quote v1.0.38 (*)
│   │   │   │       └── syn v2.0.98 (*)
│   │   │   └── tokio-stream v0.1.17
│   │   │       ├── futures-core v0.3.31
│   │   │       ├── pin-project-lite v0.2.16
│   │   │       └── tokio v1.43.0 (*)
│   │   ├── prost v0.13.5
│   │   │   ├── bytes v1.10.0
│   │   │   └── prost-derive v0.13.5 (proc-macro)
│   │   │       ├── anyhow v1.0.95
│   │   │       ├── itertools v0.14.0
│   │   │       │   └── either v1.13.0
│   │   │       ├── proc-macro2 v1.0.93 (*)
│   │   │       ├── quote v1.0.38 (*)
│   │   │       └── syn v2.0.98 (*)
│   │   ├── serde v1.0.217 (*)
│   │   └── tonic v0.12.3
│   │       ├── async-stream v0.3.6
│   │       │   ├── async-stream-impl v0.3.6 (proc-macro)
│   │       │   │   ├── proc-macro2 v1.0.93 (*)
│   │       │   │   ├── quote v1.0.38 (*)
│   │       │   │   └── syn v2.0.98 (*)
│   │       │   ├── futures-core v0.3.31
│   │       │   └── pin-project-lite v0.2.16
│   │       ├── async-trait v0.1.86 (proc-macro) (*)
│   │       ├── axum v0.7.9
│   │       │   ├── async-trait v0.1.86 (proc-macro) (*)
│   │       │   ├── axum-core v0.4.5
│   │       │   │   ├── async-trait v0.1.86 (proc-macro) (*)
│   │       │   │   ├── bytes v1.10.0
│   │       │   │   ├── futures-util v0.3.31 (*)
│   │       │   │   ├── http v1.2.0 (*)
│   │       │   │   ├── http-body v1.0.1
│   │       │   │   │   ├── bytes v1.10.0
│   │       │   │   │   └── http v1.2.0 (*)
│   │       │   │   ├── http-body-util v0.1.2
│   │       │   │   │   ├── bytes v1.10.0
│   │       │   │   │   ├── futures-util v0.3.31 (*)
│   │       │   │   │   ├── http v1.2.0 (*)
│   │       │   │   │   ├── http-body v1.0.1 (*)
│   │       │   │   │   └── pin-project-lite v0.2.16
│   │       │   │   ├── mime v0.3.17
│   │       │   │   ├── pin-project-lite v0.2.16
│   │       │   │   ├── rustversion v1.0.19 (proc-macro)
│   │       │   │   ├── sync_wrapper v1.0.2
│   │       │   │   ├── tower-layer v0.3.3
│   │       │   │   └── tower-service v0.3.3
│   │       │   ├── bytes v1.10.0
│   │       │   ├── futures-util v0.3.31 (*)
│   │       │   ├── http v1.2.0 (*)
│   │       │   ├── http-body v1.0.1 (*)
│   │       │   ├── http-body-util v0.1.2 (*)
│   │       │   ├── itoa v1.0.14
│   │       │   ├── matchit v0.7.3
│   │       │   ├── memchr v2.7.4
│   │       │   ├── mime v0.3.17
│   │       │   ├── percent-encoding v2.3.1
│   │       │   ├── pin-project-lite v0.2.16
│   │       │   ├── rustversion v1.0.19 (proc-macro)
│   │       │   ├── serde v1.0.217 (*)
│   │       │   ├── sync_wrapper v1.0.2
│   │       │   ├── tower v0.5.2
│   │       │   │   ├── futures-core v0.3.31
│   │       │   │   ├── futures-util v0.3.31 (*)
│   │       │   │   ├── pin-project-lite v0.2.16
│   │       │   │   ├── sync_wrapper v1.0.2
│   │       │   │   ├── tower-layer v0.3.3
│   │       │   │   └── tower-service v0.3.3
│   │       │   ├── tower-layer v0.3.3
│   │       │   └── tower-service v0.3.3
│   │       ├── base64 v0.22.1
│   │       ├── bytes v1.10.0
│   │       ├── h2 v0.4.7
│   │       │   ├── atomic-waker v1.1.2
│   │       │   ├── bytes v1.10.0
│   │       │   ├── fnv v1.0.7
│   │       │   ├── futures-core v0.3.31
│   │       │   ├── futures-sink v0.3.31
│   │       │   ├── http v1.2.0 (*)
│   │       │   ├── indexmap v2.7.1
│   │       │   │   ├── equivalent v1.0.1
│   │       │   │   └── hashbrown v0.15.2
│   │       │   ├── slab v0.4.9
│   │       │   ├── tokio v1.43.0 (*)
│   │       │   ├── tokio-util v0.7.13
│   │       │   │   ├── bytes v1.10.0
│   │       │   │   ├── futures-core v0.3.31
│   │       │   │   ├── futures-sink v0.3.31
│   │       │   │   ├── pin-project-lite v0.2.16
│   │       │   │   └── tokio v1.43.0 (*)
│   │       │   └── tracing v0.1.41 (*)
│   │       ├── http v1.2.0 (*)
│   │       ├── http-body v1.0.1 (*)
│   │       ├── http-body-util v0.1.2 (*)
│   │       ├── hyper v1.6.0
│   │       │   ├── bytes v1.10.0
│   │       │   ├── futures-channel v0.3.31 (*)
│   │       │   ├── futures-util v0.3.31 (*)
│   │       │   ├── h2 v0.4.7 (*)
│   │       │   ├── http v1.2.0 (*)
│   │       │   ├── http-body v1.0.1 (*)
│   │       │   ├── httparse v1.10.0
│   │       │   ├── httpdate v1.0.3
│   │       │   ├── itoa v1.0.14
│   │       │   ├── pin-project-lite v0.2.16
│   │       │   ├── smallvec v1.13.2
│   │       │   ├── tokio v1.43.0 (*)
│   │       │   └── want v0.3.1
│   │       │       └── try-lock v0.2.5
│   │       ├── hyper-timeout v0.5.2
│   │       │   ├── hyper v1.6.0 (*)
│   │       │   ├── hyper-util v0.1.10
│   │       │   │   ├── bytes v1.10.0
│   │       │   │   ├── futures-channel v0.3.31 (*)
│   │       │   │   ├── futures-util v0.3.31 (*)
│   │       │   │   ├── http v1.2.0 (*)
│   │       │   │   ├── http-body v1.0.1 (*)
│   │       │   │   ├── hyper v1.6.0 (*)
│   │       │   │   ├── pin-project-lite v0.2.16
│   │       │   │   ├── socket2 v0.5.8 (*)
│   │       │   │   ├── tokio v1.43.0 (*)
│   │       │   │   ├── tower-service v0.3.3
│   │       │   │   └── tracing v0.1.41 (*)
│   │       │   ├── pin-project-lite v0.2.16
│   │       │   ├── tokio v1.43.0 (*)
│   │       │   └── tower-service v0.3.3
│   │       ├── hyper-util v0.1.10 (*)
│   │       ├── percent-encoding v2.3.1
│   │       ├── pin-project v1.1.9
│   │       │   └── pin-project-internal v1.1.9 (proc-macro)
│   │       │       ├── proc-macro2 v1.0.93 (*)
│   │       │       ├── quote v1.0.38 (*)
│   │       │       └── syn v2.0.98 (*)
│   │       ├── prost v0.13.5 (*)
│   │       ├── socket2 v0.5.8 (*)
│   │       ├── tokio v1.43.0 (*)
│   │       ├── tokio-stream v0.1.17 (*)
│   │       ├── tower v0.4.13
│   │       │   ├── futures-core v0.3.31
│   │       │   ├── futures-util v0.3.31 (*)
│   │       │   ├── indexmap v1.9.3
│   │       │   │   └── hashbrown v0.12.3
│   │       │   ├── pin-project v1.1.9 (*)
│   │       │   ├── pin-project-lite v0.2.16
│   │       │   ├── rand v0.8.5 (*)
│   │       │   ├── slab v0.4.9
│   │       │   ├── tokio v1.43.0 (*)
│   │       │   ├── tokio-util v0.7.13 (*)
│   │       │   ├── tower-layer v0.3.3
│   │       │   ├── tower-service v0.3.3
│   │       │   └── tracing v0.1.41 (*)
│   │       ├── tower-layer v0.3.3
│   │       ├── tower-service v0.3.3
│   │       └── tracing v0.1.41 (*)
│   ├── opentelemetry_sdk v0.28.0 (*)
│   ├── prost v0.13.5 (*)
│   ├── serde_json v1.0.138 (*)
│   ├── thiserror v2.0.11 (*)
│   ├── tokio v1.43.0 (*)
│   └── tonic v0.12.3 (*)
└── opentelemetry_sdk v0.28.0 (*)

@tisonkun tisonkun force-pushed the try-reduce-axum-deps branch from c24fa90 to a27fc69 Compare February 14, 2025 11:05
@tisonkun
Copy link
Contributor Author

Once open-telemetry/opentelemetry-rust#2666 released we can get rid of axum.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant