Expand description
BC5D Table Auto-Download Module
This module provides automatic downloading and caching of BC5D correction tables from a remote server. Tables are cached locally to avoid repeated downloads.
§Example
use ballistics_engine::bc_table_download::Bc5dDownloader;
let mut downloader = Bc5dDownloader::new(
"https://ballistics.tools/downloads/bc5d",
false
).unwrap();
// Download table for .308 caliber
let table_path = downloader.ensure_table(0.308).unwrap();Structs§
- Bc5d
Downloader - BC5D table downloader with caching
- Bc5d
Manifest - Manifest describing available BC5D tables
- Table
Entry - Manifest entry for a BC5D table
Enums§
- Bc5d
Download Error - Error type for BC5D table download operations
Constants§
- DEFAULT_
BC5D_ URL - Default URL for BC5D table downloads
Functions§
- get_
cache_ directory - Get the platform-specific cache directory for BC5D tables