Skip to content

Commit

Permalink
Merge pull request #30924 from alex-hunt-materialize/reduce_default_f…
Browse files Browse the repository at this point in the history
…eatures

Disable many default features
  • Loading branch information
alex-hunt-materialize authored Dec 31, 2024
2 parents 38f226d + 1c633e3 commit bc3a989
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 32 deletions.
6 changes: 3 additions & 3 deletions src/aws-secrets-controller/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ aws-credential-types = { version = "1.1.1", features = ["hardcoded-credentials"]
aws-sdk-secretsmanager = { version = "1.20.0", default-features = false, features = ["rt-tokio"] }
aws-types = "1.1.1"
futures = { version = "0.3.25" }
mz-aws-util = { path = "../aws-util" }
mz-secrets = { path = "../secrets" }
mz-repr = { path = "../repr" }
mz-aws-util = { path = "../aws-util", default-features = false }
mz-secrets = { path = "../secrets", default-features = false }
mz-repr = { path = "../repr", default-features = false }
workspace-hack = { version = "0.0.0", path = "../workspace-hack", optional = true }
tracing = "0.1.37"
uuid = "1.7.0"
Expand Down
2 changes: 1 addition & 1 deletion src/cloud-resources/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ uuid = { version = "1.2", features = ["serde", "v4"] }
workspace-hack = { version = "0.0.0", path = "../workspace-hack", optional = true }

async-trait = { version = "0.1.83", optional = true }
mz-repr = { path = "../repr", optional = true }
mz-repr = { path = "../repr", default-features = false, optional = true }

[features]
default = ["workspace-hack", "vpc-endpoints"]
Expand Down
2 changes: 1 addition & 1 deletion src/lowertest/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ publish = false
workspace = true

[dependencies]
mz-lowertest-derive = { path = "../lowertest-derive" }
mz-lowertest-derive = { path = "../lowertest-derive", default-features = false }
mz-ore = { path = "../ore", features = ["test"], default-features = false }
proc-macro2 = "1.0.60"
serde = { version = "1.0.152", features = ["derive"] }
Expand Down
8 changes: 4 additions & 4 deletions src/orchestrator-kubernetes/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ clap = { version = "3.2.24", features = ["derive"] }
fail = { version = "0.5.1", features = ["failpoints"] }
futures = "0.3.25"
maplit = "1.0.2"
mz-cloud-resources = { path = "../cloud-resources" }
mz-orchestrator = { path = "../orchestrator" }
mz-cloud-resources = { path = "../cloud-resources", default-features = false, features = ["vpc-endpoints"] }
mz-orchestrator = { path = "../orchestrator", default-features = false }
mz-ore = { path = "../ore", default-features = false, features = ["async"] }
mz-secrets = { path = "../secrets" }
mz-repr = { path = "../repr" }
mz-secrets = { path = "../secrets", default-features = false }
mz-repr = { path = "../repr", default-features = false }
k8s-openapi = { version = "0.22.0", features = ["v1_29"] }
kube = { version = "0.92.1", default-features = false, features = ["client", "runtime", "ws"] }
serde = { version = "1.0.152", features = ["derive"] }
Expand Down
6 changes: 3 additions & 3 deletions src/orchestrator-process/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ hex = "0.4.3"
itertools = "0.12.1"
libc = "0.2.138"
maplit = "1.0.2"
mz-orchestrator = { path = "../orchestrator" }
mz-orchestrator = { path = "../orchestrator", default-features = false }
mz-ore = { path = "../ore", default-features = false, features = ["async", "network"] }
mz-repr = { path = "../repr" }
mz-secrets = { path = "../secrets" }
mz-repr = { path = "../repr", default-features = false }
mz-secrets = { path = "../secrets", default-features = false }
nix = "0.26.1"
serde = "1.0.147"
serde_json = "1.0.125"
Expand Down
12 changes: 6 additions & 6 deletions src/orchestrator-tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ derivative = "2.2.0"
futures-core = "0.3.21"
http = "1.1.0"
humantime = { version = "2.1.0" }
mz-build-info = { path = "../build-info" }
mz-orchestrator = { path = "../orchestrator" }
mz-build-info = { path = "../build-info", default-features = false }
mz-orchestrator = { path = "../orchestrator", default-features = false }
mz-ore = { path = "../ore", default-features = false, features = ["tracing_", "cli", "test"] }
mz-repr = { path = "../repr", optional = true }
mz-service = { path = "../service" }
mz-tracing = { path = "../tracing" }
mz-repr = { path = "../repr", default-features = false, optional = true }
mz-service = { path = "../service", default-features = false }
mz-tracing = { path = "../tracing", default-features = false }
sentry-tracing = { version = "0.29.1" }
tracing = { version = "0.1.37" }
tracing-capture = { version = "0.1.0", optional = true }
Expand All @@ -32,7 +32,7 @@ opentelemetry_sdk = { version = "0.24.1", features = ["rt-tokio"] }
workspace-hack = { version = "0.0.0", path = "../workspace-hack", optional = true }

[dev-dependencies]
mz-ore = { path = "../ore", features = ["network", "test"] }
mz-ore = { path = "../ore", default-features = false, features = ["network", "test"] }

[features]
default = ["tokio-console", "workspace-hack"]
Expand Down
2 changes: 1 addition & 1 deletion src/persist-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ workspace = true
[dependencies]
anyhow = { version = "1.0.66", features = ["backtrace"] }
arrow = { version = "53.3.0", default-features = false }
bytes = "1.3.0"
bytes = { version = "1.3.0", features = ["serde"] }
chrono = { version = "0.4.35", default-features = false, features = ["std"] }
hex = "0.4.3"
itertools = "0.12.1"
Expand Down
2 changes: 1 addition & 1 deletion src/pgtz/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ workspace = true
[dependencies]
chrono = { version = "0.4.35", default-features = false, features = ["serde", "std"] }
chrono-tz = { version = "0.8.1", features = ["serde", "case-insensitive"] }
mz-lowertest = { path = "../lowertest" }
mz-lowertest = { path = "../lowertest", default-features = false }
mz-ore = { path = "../ore", features = ["test"], default-features = false }
mz-proto = { path = "../proto", features = ["chrono"], default-features = false }
phf = { version = "0.11.1", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/repr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ enum-kinds = "0.5.1"
flatcontainer = "0.5.0"
hex = "0.4.3"
itertools = "0.12.1"
mz-lowertest = { path = "../lowertest" }
mz-lowertest = { path = "../lowertest", default-features = false }
mz-ore = { path = "../ore", features = [
"bytes_",
"flatcontainer",
Expand Down
4 changes: 2 additions & 2 deletions src/secrets/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ workspace = true
[dependencies]
anyhow = "1.0.66"
async-trait = "0.1.83"
mz-repr = { path = "../repr" }
mz-repr = { path = "../repr", default-features = false }
tracing = "0.1.37"
workspace-hack = { version = "0.0.0", path = "../workspace-hack", optional = true }

[dev-dependencies]
mz-ore = { path = "../ore" }
mz-ore = { path = "../ore", default-features = false }
tokio = { version = "1.38.0", features = ["macros", "rt"] }

[features]
Expand Down
14 changes: 7 additions & 7 deletions src/service/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ futures = "0.3.25"
http = "1.1.0"
hyper-util = "0.1.6"
itertools = "0.12.1"
mz-aws-secrets-controller = { path = "../aws-secrets-controller" }
mz-build-info = { path = "../build-info" }
mz-proto = { path = "../proto" }
mz-repr = { path = "../repr" }
mz-secrets = { path = "../secrets" }
mz-orchestrator-process = { path = "../orchestrator-process" }
mz-orchestrator-kubernetes = { path = "../orchestrator-kubernetes" }
mz-aws-secrets-controller = { path = "../aws-secrets-controller", default-features = false }
mz-build-info = { path = "../build-info", default-features = false }
mz-proto = { path = "../proto", default-features = false }
mz-repr = { path = "../repr", default-features = false }
mz-secrets = { path = "../secrets", default-features = false }
mz-orchestrator-process = { path = "../orchestrator-process", default-features = false }
mz-orchestrator-kubernetes = { path = "../orchestrator-kubernetes", default-features = false }
mz-ore = { path = "../ore", default-features = false }
os_info = "3.5.1"
prometheus = { version = "0.13.3", default-features = false }
Expand Down
2 changes: 1 addition & 1 deletion src/sql-parser/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ workspace-hack = { version = "0.0.0", path = "../workspace-hack", optional = tru

[dev-dependencies]
mz-ore = { path = "../ore", default-features = false, features = ["test"] }
mz-sql-parser = { path = ".", features = ["test"] }
mz-sql-parser = { path = ".", default-features = false, features = ["test"] }

[build-dependencies]
anyhow = "1.0.66"
Expand Down
2 changes: 1 addition & 1 deletion src/tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ workspace = true
[dependencies]
anyhow = "1.0.66"
mz-ore = { path = "../ore", default-features = false, features = ["test", "tracing_"] }
mz-proto = { path = "../proto" }
mz-proto = { path = "../proto", default-features = false }
prost = { version = "0.13.2", features = ["no-recursion-limit"] }
proptest = { version = "1.6.0", default-features = false, features = ["std"] }
serde = { version = "1.0.152", features = ["derive"] }
Expand Down

0 comments on commit bc3a989

Please sign in to comment.