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