Skip to content

When adding feature time many other packages are enabled #3908

@alexkazik

Description

@alexkazik

I have found these related issues/pull requests

Can't find a related issue.

Description

By adding the time feature 31 packages are added:

      Adding base64ct v1.8.0
      Adding const-oid v0.9.6
      Adding der v0.7.10
      Adding deranged v0.4.0
      Adding flume v0.11.1
      Adding futures-executor v0.3.31
      Adding lazy_static v1.5.0
      Adding libm v0.2.15
      Adding libsqlite3-sys v0.30.1
      Adding num-bigint-dig v0.8.4
      Adding num-conv v0.1.0
      Adding num-integer v0.1.46
      Adding num-iter v0.1.45
      Adding pem-rfc7468 v0.7.0
      Adding pkcs1 v0.7.5
      Adding pkcs8 v0.10.2
      Adding pkg-config v0.3.32
      Adding powerfmt v0.2.0
      Adding rsa v0.9.8
      Adding serde_urlencoded v0.7.1
      Adding sha1 v0.10.6
      Adding signature v2.2.0
      Adding spin v0.9.8
      Adding spki v0.7.3
      Adding sqlx-mysql v0.8.6
      Adding sqlx-sqlite v0.8.6
      Adding time v0.3.41
      Adding time-core v0.1.4
      Adding time-macros v0.2.22
      Adding vcpkg v0.2.15
      Adding zeroize v1.8.1

Which is confusing given that I didn't enable mysql/sqlite and now it's there.

Reproduction steps

Change

sqlx = { version = "0.8.6", default-features = false, features = ["macros", "postgres", "runtime-tokio"] }

to

sqlx = { version = "0.8.6", default-features = false, features = ["macros", "postgres", "runtime-tokio", "time"] }

SQLx version

0.8.6

Enabled SQLx features

"macros", "postgres", "runtime-tokio", "time"

Database server and version

N/A

Operating system

macOS

Rust version

1.87.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions