Skip to content

Commit 0c0778f

Browse files
committed
Prepare v0.3.2
1 parent ac6c55c commit 0c0778f

6 files changed

Lines changed: 10 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CoursePointer Changelog
22

3+
## v0.3.2
4+
5+
- `pub use TypeError` so external users can deal with type invariant errors
6+
from `GeoPoint`.
7+
38
## v0.3.1
49

510
- Fix issues with rust docs.

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "coursepointer"
33
description = "Converts waypoints into Garmin FIT course points"
4-
version = "0.3.1"
4+
version = "0.3.2"
55
edition = "2024"
66
rust-version = "1.85"
77
default-run = "coursepointer"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "coursepointer"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "Add your description here"
55
requires-python = ">=3.13"
66
dependencies = [

src/lib.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ use crate::geographic::GeographicError;
7272
use crate::gpx::{GpxItem, GpxReader};
7373
pub use crate::measure::{DEG, Degree};
7474
use crate::point_type::{GpxCreator, get_course_point_type, get_gpx_creator};
75-
pub use crate::types::GeoPoint;
76-
pub use crate::types::TypeError;
75+
pub use crate::types::{GeoPoint, TypeError};
7776

7877
/// An error in a high-level library operation
7978
#[derive(Error, Debug)]

src/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ use thiserror::Error;
44

55
use crate::measure::{DEG, Degree};
66

7+
/// A type invariant error for basic types like [`GeoPoint`]
78
#[derive(Error, Debug)]
89
#[non_exhaustive]
910
pub enum TypeError {

0 commit comments

Comments
 (0)