ifsc 0.1.1

A fast offline directory for Indian bank branches and IFSCs
Documentation
/// Identifies the immutable Razorpay snapshot bundled with this crate.
#[derive(Clone, Copy, Debug, Eq, Hash, PartialEq)]
pub struct Dataset {
    _private: (),
}

/// Returns information about the bundled dataset.
pub const fn dataset() -> Dataset {
    Dataset { _private: () }
}

impl Dataset {
    /// Returns the crate's stable dataset-version label.
    pub const fn version(self) -> &'static str {
        crate::DATA_VERSION
    }

    /// Returns the Razorpay release tag encoded in the directory.
    pub fn razorpay_release(self) -> &'static str {
        crate::snapshot::razorpay_release()
    }

    /// Returns the pinned Razorpay source commit.
    pub fn razorpay_commit(self) -> &'static str {
        crate::snapshot::razorpay_commit()
    }

    /// Returns Razorpay's reported RBI update date in `YYYY-MM-DD` form.
    pub fn rbi_update_date(self) -> &'static str {
        crate::snapshot::rbi_update_date()
    }
}