[[bench]]
harness = false
name = "bottleneck_analysis"
path = "benches/bottleneck_analysis.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "database_vs_sqlite_benchmark"
path = "benches/database_vs_sqlite_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "engine_basic_benchmark"
path = "benches/engine_basic_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "engine_seq_benchmark"
path = "benches/engine_seq_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "engine_vs_transaction_comparison"
path = "benches/engine_vs_transaction_comparison.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "fixed_length_format_benchmark"
path = "benches/fixed_length_format_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "focused_planner_benchmark"
path = "benches/focused_planner_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "lazy_storage_benchmark"
path = "benches/lazy_storage_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "limit_optimization_benchmark"
path = "benches/limit_optimization_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "native_row_format_benchmark"
path = "benches/native_row_format_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "parser_benchmark"
path = "benches/parser_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "parser_optimized_benchmark"
path = "benches/parser_optimized_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "planner_optimization_benchmark"
path = "benches/planner_optimization_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "pure_rollback"
path = "benches/pure_rollback.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "query_optimizer_benchmark"
path = "benches/query_optimizer_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "query_prepared_breakdown"
path = "benches/query_prepared_breakdown.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "rollback_detailed"
path = "benches/rollback_detailed.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "simple_planner_test"
path = "benches/simple_planner_test.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "storage_format_benchmark"
path = "benches/storage_format_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "streaming_performance_benchmark"
path = "benches/streaming_performance_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "transaction_begin_scaling"
path = "benches/transaction_begin_scaling.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "transaction_benchmark"
path = "benches/transaction_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "vector_index_performance_benchmark"
path = "benches/vector_index_performance_benchmark.rs"
required-features = ["dev"]
[[bench]]
harness = false
name = "vector_search_benchmark"
path = "benches/vector_search_benchmark.rs"
required-features = ["dev"]
[[bin]]
name = "tg"
path = "src/bin/tg.rs"
[[bin]]
name = "tgstream"
path = "src/bin/tgstream.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.aws-config]
version = "1"
[dependencies.aws-sdk-s3]
version = "1"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.clap]
features = ["derive"]
version = "4.0"
[dependencies.const_format]
version = "0.2"
[dependencies.crossterm]
version = "0.27"
[dependencies.fastrand]
version = "2.0.1"
[dependencies.flate2]
version = "1.0"
[dependencies.fs2]
version = "0.4.3"
[dependencies.futures]
version = "0.3"
[dependencies.nom]
version = "8.0.0"
[dependencies.rustyline]
version = "14.0"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
features = ["full"]
version = "1.0"
[dependencies.toml]
version = "0.8"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.6.0"
[dev-dependencies.once_cell]
version = "1.19"
[dev-dependencies.rand]
version = "0.8.5"
[dev-dependencies.reqwest]
features = ["json"]
version = "0.11"
[dev-dependencies.rusqlite]
version = "0.37.0"
[dev-dependencies.sled]
version = "0.34.7"
[dev-dependencies.tempfile]
version = "3.20.0"
[dev-dependencies.tokio]
features = ["full"]
version = "1.0"
[[example]]
name = "arithmetic_expressions"
path = "examples/arithmetic_expressions.rs"
[[example]]
name = "composite_pk_demo"
path = "examples/composite_pk_demo.rs"
[[example]]
name = "comprehensive_database_test"
path = "examples/comprehensive_database_test.rs"
[[example]]
name = "comprehensive_storage_test"
path = "examples/comprehensive_storage_test.rs"
[[example]]
name = "debug_embed"
path = "examples/debug_embed.rs"
[[example]]
name = "dual_storage_demo"
path = "examples/dual_storage_demo.rs"
[[example]]
name = "embed_demo"
path = "examples/embed_demo.rs"
[[example]]
name = "fixed_length_format_demo"
path = "examples/fixed_length_format_demo.rs"
[[example]]
name = "interactive_personal_chatbot"
path = "examples/interactive_personal_chatbot.rs"
[[example]]
name = "iot_demo"
path = "examples/iot_demo.rs"
[[example]]
name = "iot_optimization_demo"
path = "examples/iot_optimization_demo.rs"
[[example]]
name = "iot_storage_benchmark"
path = "examples/iot_storage_benchmark.rs"
[[example]]
name = "manual_chatbot"
path = "examples/manual_chatbot.rs"
[[example]]
name = "native_format_test"
path = "examples/native_format_test.rs"
[[example]]
name = "native_key_benchmark"
path = "examples/native_key_benchmark.rs"
[[example]]
name = "native_row_format_benchmark"
path = "examples/native_row_format_benchmark.rs"
[[example]]
name = "ollama_chatbot_demo"
path = "examples/ollama_chatbot_demo.rs"
[[example]]
name = "ollama_chatbot_simple"
path = "examples/ollama_chatbot_simple.rs"
[[example]]
name = "ollama_chatbot_working"
path = "examples/ollama_chatbot_working.rs"
[[example]]
name = "ollama_semantic_search_demo"
path = "examples/ollama_semantic_search_demo.rs"
[[example]]
name = "performance_demo"
path = "examples/performance_demo.rs"
[[example]]
name = "personal_knowledge_db"
path = "examples/personal_knowledge_db.rs"
[[example]]
name = "pk_lookup_profile"
path = "examples/pk_lookup_profile.rs"
[[example]]
name = "planner_demo"
path = "examples/planner_demo.rs"
[[example]]
name = "planner_usage_demo"
path = "examples/planner_usage_demo.rs"
[[example]]
name = "preallocate_demo"
path = "examples/preallocate_demo.rs"
[[example]]
name = "prepared_statement_demo"
path = "examples/prepared_statement_demo.rs"
[[example]]
name = "prepared_statement_plan_caching_demo"
path = "examples/prepared_statement_plan_caching_demo.rs"
[[example]]
name = "query_optimizer_demo"
path = "examples/query_optimizer_demo.rs"
[[example]]
name = "query_processor_validation_test"
path = "examples/query_processor_validation_test.rs"
[[example]]
name = "simple_embed_demo"
path = "examples/simple_embed_demo.rs"
[[example]]
name = "simple_parameter_test"
path = "examples/simple_parameter_test.rs"
[[example]]
name = "simple_usage"
path = "examples/simple_usage.rs"
[[example]]
name = "sqlite_like_usage"
path = "examples/sqlite_like_usage.rs"
[[example]]
name = "streaming_api_demo"
path = "examples/streaming_api_demo.rs"
[[example]]
name = "streaming_api_integration_demo"
path = "examples/streaming_api_integration_demo.rs"
[[example]]
name = "streaming_performance_demo"
path = "examples/streaming_performance_demo.rs"
[[example]]
name = "streaming_query_demo"
path = "examples/streaming_query_demo.rs"
[[example]]
name = "streaming_resultset_demo"
path = "examples/streaming_resultset_demo.rs"
[[example]]
name = "transaction_planner_demo"
path = "examples/transaction_planner_demo.rs"
[[example]]
name = "true_streaming_demo"
path = "examples/true_streaming_demo.rs"
[[example]]
name = "unique_constraint_performance_demo"
path = "examples/unique_constraint_performance_demo.rs"
[[example]]
name = "vector_demo"
path = "examples/vector_demo.rs"
[[example]]
name = "vector_search_integration_demo"
path = "examples/vector_search_integration_demo.rs"
[[example]]
name = "verify_chatbot_setup"
path = "examples/verify_chatbot_setup.rs"
[features]
dev = []
[lib]
crate-type = ["cdylib", "rlib"]
name = "tegdb"
path = "src/lib.rs"
[package]
authors = ["Jack Yu"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "The name TegridyDB (short for TegDB) is inspired by the Tegridy Farm in South Park and tries to correct some of the wrong database implementations, such as null support, implicit conversion support, etc."
documentation = "https://docs.rs/tegdb"
edition = "2021"
homepage = "https://github.com/minifish-org/tegdb"
license = "AGPL-3.0"
name = "tegdb"
readme = "README.md"
repository = "https://github.com/minifish-org/tegdb.git"
version = "0.4.0"
[package.metadata.docs.rs]
features = ["dev"]
[profile.release]
codegen-units = 1
debug = 2
lto = true
[[test]]
name = "arithmetic_edge_cases_test"
path = "tests/arithmetic/arithmetic_edge_cases_test.rs"
required-features = ["dev"]
[[test]]
name = "arithmetic_expressions_test"
path = "tests/arithmetic/arithmetic_expressions_test.rs"
required-features = ["dev"]
[[test]]
name = "arithmetic_parser_tests"
path = "tests/arithmetic/arithmetic_parser_tests.rs"
required-features = ["dev"]
[[test]]
name = "backend_compatibility_test"
path = "tests/integration/backend_compatibility_test.rs"
required-features = ["dev"]
[[test]]
name = "cli_tests"
path = "tests/cli_tests.rs"
required-features = ["dev"]
[[test]]
name = "commit_marker_tests"
path = "tests/integration/commit_marker_tests.rs"
required-features = ["dev"]
[[test]]
name = "drop_table_integration_test"
path = "tests/integration/drop_table_integration_test.rs"
required-features = ["dev"]
[[test]]
name = "engine_tests"
path = "tests/integration/engine_tests.rs"
required-features = ["dev"]
[[test]]
name = "explicit_transaction_integration_tests"
path = "tests/integration/explicit_transaction_integration_tests.rs"
required-features = ["dev"]
[[test]]
name = "header_tests"
path = "tests/header_tests.rs"
[[test]]
name = "header_version_test"
path = "tests/integration/header_version_test.rs"
required-features = ["dev"]
[[test]]
name = "high_level_api_performance_test"
path = "tests/performance/high_level_api_performance_test.rs"
required-features = ["dev"]
[[test]]
name = "integration_vector_features_test"
path = "tests/integration_vector_features_test.rs"
required-features = ["dev"]
[[test]]
name = "mod"
path = "tests/mod.rs"
[[test]]
name = "parse_embed_unit_test"
path = "tests/parse_embed_unit_test.rs"
[[test]]
name = "parser_tests"
path = "tests/parser_tests.rs"
required-features = ["dev"]
[[test]]
name = "planner_database_integration_test"
path = "tests/integration/planner_database_integration_test.rs"
required-features = ["dev"]
[[test]]
name = "preallocate_disk_test"
path = "tests/integration/preallocate_disk_test.rs"
required-features = ["dev"]
[[test]]
name = "preallocate_memory_test"
path = "tests/integration/preallocate_memory_test.rs"
required-features = ["dev"]
[[test]]
name = "query_iterator_test"
path = "tests/integration/query_iterator_test.rs"
required-features = ["dev"]
[[test]]
name = "read_only_transaction_test"
path = "tests/integration/read_only_transaction_test.rs"
required-features = ["dev"]
[[test]]
name = "reproduction_log_growth"
path = "tests/reproduction_log_growth.rs"
[[test]]
name = "schema_persistence_test"
path = "tests/integration/schema_persistence_test.rs"
required-features = ["dev"]
[[test]]
name = "simplified_api_test"
path = "tests/integration/simplified_api_test.rs"
required-features = ["dev"]
[[test]]
name = "sql_integration_tests"
path = "tests/integration/sql_integration_tests.rs"
required-features = ["dev"]
[[test]]
name = "storage_format_tests"
path = "tests/storage_format_tests.rs"
[[test]]
name = "tgstream_integration_minio"
path = "tests/tgstream_integration_minio.rs"
[[test]]
name = "tgstream_parser_tests"
path = "tests/tgstream_parser_tests.rs"
[[test]]
name = "tgstream_preallocate_test"
path = "tests/tgstream_preallocate_test.rs"
required-features = ["dev"]
[[test]]
name = "tgstream_state_tests"
path = "tests/tgstream_state_tests.rs"
[[test]]
name = "transaction_parsing_tests"
path = "tests/integration/transaction_parsing_tests.rs"
required-features = ["dev"]
[[test]]
name = "transaction_tests"
path = "tests/integration/transaction_tests.rs"
required-features = ["dev"]