diff --git a/.gitignore b/.gitignore index 43c3c5603f..ca9478ec9e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,114 @@ -target -.idea -.vscode -.test-projects -__pycache__ -.pixi -.build -.DS_store +# macOS system files +.DS_Store +.DS_Store? +._* +.Spotlight-V100 +.Trashes +ehthumbs.db +Thumbs.db + +# Local environment files +*.local.* +.env +.env.local +.env.*.local + +# Documentation and build artifacts site/ +.build .cache -pytest-temp -/vendor +docs/_build/ +*.egg-info/ +dist/ +build/ + +# Conda/Pixi environment related *.conda -*.local.* +.pixi +.conda/ +conda-bld/ +.conda-env-vars + +# Python +__pycache__/ +*.py[cod] +*$py.class +*.so +.Python +.tox/ +.coverage +.coverage.* +.pytest_cache/ +pytest-temp/ +.test-projects/ +.mypy_cache/ +.dmypy.json +dmypy.json +htmlcov/ +.nox/ +.ruff_cache/ + +# Jupyter Notebook +.ipynb_checkpoints +*/.ipynb_checkpoints/* + +# Profiling and performance data +profile.json.gz +*.prof +*.pstats +perf.data* +massif.out.* +cachegrind.out.* + +# Rust +target/ +/vendor/ +*.orig +**/*.rs.bk + +# IDE and editor files +.idea/ +.vscode/ +*.swp +*.swo +*~ +.vim/ +.emacs.d/ +*.sublime-project +*.sublime-workspace + +# Operating system files +*.tmp +*.temp +.fuse_hidden* +.directory +.Trash-* +.nfs* + +# Logs +*.log +logs/ + +# Test artifacts +coverage/ +coverage.xml +*.cover +.hypothesis/ + +# Temporary files and caches +*.cache +.cache/ +.tmp/ +tmp/ + +# Security and credentials +*.pem +*.key +*.p12 +.secrets +secrets.json + +# Generated files +*_pb2.py +*_pb2_grpc.py + diff --git a/Cargo.toml b/Cargo.toml index bc2482540c..5761fa307e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -353,6 +353,16 @@ lto = false opt-level = 3 strip = false +[profile.profiling] +codegen-units = 1 # better line info (slower build, clearer profiles) +debug = 2 # full debug info +inherits = "release" +lto = false # avoid over-inlining across crates +opt-level = 1 # less inlining, easier stepping/backtraces +panic = "unwind" # needed for backtraces +# macOS only: +split-debuginfo = "unpacked" +strip = "none" # or "debuginfo" to separate [dev-dependencies] async-trait = { workspace = true }