Skip to content

Commit 6b3bcf9

Browse files
authored
VER: Release 0.34.1
2 parents 47e2638 + 6bc8ef0 commit 6b3bcf9

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

CHANGELOG.md

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

3+
## 0.34.1 - 2025-09-30
4+
5+
### Enhancements
6+
- Upgraded DBN version to 0.42.0
7+
8+
### Bug fixes
9+
- Fixed visibility of fields in `DateRange` and `DateTimeRange`
10+
311
## 0.34.0 - 2025-09-23
412

513
### Enhancements

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "databento"
33
authors = ["Databento <support@databento.com>"]
4-
version = "0.34.0"
4+
version = "0.34.1"
55
edition = "2021"
66
repository = "https://github.com/databento/databento-rs"
77
description = "Official Databento client library"
@@ -31,7 +31,7 @@ historical = [
3131
live = ["tokio/net"]
3232

3333
[dependencies]
34-
dbn = { version = "0.41.0", features = ["async", "serde"] }
34+
dbn = { version = "0.42.0", features = ["async", "serde"] }
3535

3636
async-compression = { version = "0.4", features = ["tokio", "zstd"], optional = true }
3737
# Async stream trait

src/historical.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ pub enum HistoricalGateway {
3232
#[derive(Clone, Debug, PartialEq, Eq)]
3333
pub struct DateRange {
3434
/// The inclusive UTC start date.
35-
start: time::Date,
35+
pub start: time::Date,
3636
/// The exclusive UTC end date.
37-
end: time::Date,
37+
pub end: time::Date,
3838
}
3939

4040
/// A **half**-closed datetime interval with an inclusive start and an exclusive end.
4141
#[derive(Clone, Debug, PartialEq, Eq, Deserialize)]
4242
pub struct DateTimeRange {
4343
/// The inclusive start.
4444
#[serde(deserialize_with = "deserialize_date_time")]
45-
start: time::OffsetDateTime,
45+
pub start: time::OffsetDateTime,
4646
/// The exclusive end.
4747
#[serde(deserialize_with = "deserialize_date_time")]
48-
end: time::OffsetDateTime,
48+
pub end: time::OffsetDateTime,
4949
}
5050

5151
impl From<(time::Date, time::Date)> for DateRange {

src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,10 @@ pub mod live;
1414

1515
pub use error::{Error, Result};
1616
#[cfg(feature = "historical")]
17+
#[doc(inline)]
1718
pub use historical::Client as HistoricalClient;
1819
#[cfg(feature = "live")]
20+
#[doc(inline)]
1921
pub use live::Client as LiveClient;
2022
// Re-export to keep versions synchronized
2123
pub use dbn;

0 commit comments

Comments
 (0)