mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-17 00:24:21 +01:00
enable encryption feature flag by default
This commit is contained in:
4
.github/workflows/rust.yml
vendored
4
.github/workflows/rust.yml
vendored
@@ -40,10 +40,6 @@ jobs:
|
||||
python-version: "3.10"
|
||||
- name: Build
|
||||
run: cargo build --verbose
|
||||
- name: Test Encryption
|
||||
run: |
|
||||
cargo test --features encryption --color=always --test integration_tests query_processing::encryption
|
||||
cargo test --features encryption --color=always --lib storage::encryption
|
||||
- name: Test Checksums
|
||||
run: |
|
||||
cargo test --features checksum --color=always --lib storage::checksum
|
||||
|
||||
@@ -19,7 +19,6 @@ tracing.workspace = true
|
||||
chrono = { workspace = true, default-features = false, features = ["clock"] }
|
||||
|
||||
[features]
|
||||
encryption = ["turso_core/encryption"]
|
||||
browser = []
|
||||
tracing_release = ["turso_core/tracing_release"]
|
||||
[build-dependencies]
|
||||
|
||||
@@ -15,7 +15,6 @@ conn_raw_api = ["turso_core/conn_raw_api"]
|
||||
experimental_indexes = []
|
||||
antithesis = ["turso_core/antithesis"]
|
||||
tracing_release = ["turso_core/tracing_release"]
|
||||
encryption = ["turso_core/encryption"]
|
||||
|
||||
[dependencies]
|
||||
turso_core = { workspace = true, features = ["io_uring"] }
|
||||
|
||||
@@ -14,7 +14,7 @@ name = "turso_core"
|
||||
path = "lib.rs"
|
||||
|
||||
[features]
|
||||
default = ["fs", "uuid", "time", "json", "series"]
|
||||
default = ["fs", "uuid", "time", "json", "series", "encryption"]
|
||||
antithesis = ["dep:antithesis_sdk"]
|
||||
tracing_release = ["tracing/release_max_level_info"]
|
||||
conn_raw_api = []
|
||||
|
||||
@@ -8,7 +8,7 @@ name = "encryption-throughput"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
turso = { workspace = true, features = ["encryption"] }
|
||||
turso = { workspace = true }
|
||||
clap = { workspace = true, features = ["derive"] }
|
||||
tokio = { workspace = true, default-features = true, features = ["full"] }
|
||||
futures = { workspace = true }
|
||||
|
||||
@@ -36,5 +36,4 @@ tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
||||
tracing = { workspace = true }
|
||||
|
||||
[features]
|
||||
encryption = ["turso_core/encryption"]
|
||||
checksum = ["turso_core/checksum"]
|
||||
|
||||
@@ -3,8 +3,6 @@ mod test_ddl;
|
||||
mod test_read_path;
|
||||
mod test_write_path;
|
||||
|
||||
mod encryption;
|
||||
mod test_multi_thread;
|
||||
mod test_transactions;
|
||||
|
||||
#[cfg(feature = "encryption")]
|
||||
mod encryption;
|
||||
|
||||
@@ -29,4 +29,3 @@ hex = "0.4.3"
|
||||
|
||||
[features]
|
||||
checksum = ["turso_core/checksum"]
|
||||
encryption = ["turso_core/encryption"]
|
||||
Reference in New Issue
Block a user