1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
use ;
use str;
use crateffi;
/// Return the version string of the SQLite library in use.
///
/// This may return a version string like `"3.52.0"`.
///
/// # Examples
///
/// ```
/// # #[cfg(feature = "bundled")]
/// assert_eq!(sqll::lib_version(), "3.52.0");
/// # #[cfg(not(feature = "bundled"))]
/// # assert!(sqll::lib_version().starts_with("3."));
/// ```
/// Return the version number of the SQLite library in use.
///
/// The version `3.52.0` as returned by [`lib_version`] would correspond to the
/// integer `3052000`.
///
/// # Examples
///
/// ```
/// # #[cfg(feature = "bundled")]
/// assert_eq!(sqll::lib_version_number(), 3052000);
/// assert!(matches!(sqll::lib_version_number(), 3000000..4000000));
/// ```