Module bc_table_download

Module bc_table_download 

Source
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§

Bc5dDownloader
BC5D table downloader with caching
Bc5dManifest
Manifest describing available BC5D tables
TableEntry
Manifest entry for a BC5D table

Enums§

Bc5dDownloadError
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