Skip to content

Commit fa58bc1

Browse files
authored
Merge pull request #497 from stanislavkozlovski/main
fix tansu/Cargo.toml by forwarding workspace feature flags
2 parents 26fe628 + 63e6486 commit fa58bc1

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
lines changed

Cargo.lock

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ include = [
3030
"LICENSE",
3131
"benches/*.rs",
3232
"build.rs",
33+
"examples/*.rs",
3334
"message/*.json",
3435
"src/**/*.avsc",
3536
"src/**/*.json",

tansu/Cargo.toml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@ workspace = true
1515

1616
[dependencies]
1717
dotenv.workspace = true
18-
tansu-broker.workspace = true
19-
tansu-cli.workspace = true
18+
tansu-broker = { workspace = true, default-features = false, optional = true }
19+
tansu-cli = { workspace = true, default-features = false, optional = true }
2020
tansu-sans-io.workspace = true
21+
tansu-schema = { workspace = true, default-features = false, optional = true }
22+
tansu-storage = { workspace = true, default-features = false, optional = true }
2123
tokio.workspace = true
2224
tracing.workspace = true
25+
26+
[features]
27+
default = ["dep:tansu-broker", "dep:tansu-cli", "dep:tansu-schema", "dep:tansu-storage"]
28+
delta = ["dep:tansu-broker", "dep:tansu-cli", "dep:tansu-schema", "dep:tansu-storage", "tansu-cli/delta", "tansu-schema/delta"]
29+
dynostore = ["dep:tansu-broker", "dep:tansu-cli", "dep:tansu-schema", "dep:tansu-storage", "tansu-broker/dynostore", "tansu-cli/dynostore", "tansu-storage/dynostore"]
30+
iceberg = ["dep:tansu-broker", "dep:tansu-cli", "dep:tansu-schema", "dep:tansu-storage", "tansu-cli/iceberg", "tansu-schema/iceberg"]
31+
libsql = ["dep:tansu-broker", "dep:tansu-cli", "dep:tansu-schema", "dep:tansu-storage", "tansu-broker/libsql", "tansu-cli/libsql", "tansu-storage/libsql"]
32+
parquet = ["dep:tansu-broker", "dep:tansu-cli", "dep:tansu-schema", "dep:tansu-storage", "tansu-cli/parquet", "tansu-schema/parquet"]
33+
postgres = ["dep:tansu-broker", "dep:tansu-cli", "dep:tansu-schema", "dep:tansu-storage", "tansu-broker/postgres", "tansu-cli/postgres", "tansu-storage/postgres"]
34+
turso = ["dep:tansu-broker", "dep:tansu-cli", "dep:tansu-schema", "dep:tansu-storage", "tansu-broker/turso", "tansu-cli/turso", "tansu-storage/turso"]

0 commit comments

Comments
 (0)