Skip to content

Commit

Permalink
fix(dtt): 🐛 minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastienrousseau committed Aug 31, 2024
1 parent 345bbc9 commit 76c7c0a
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 104 deletions.
18 changes: 9 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ include = [
"/tests/**",
]

[[bench]]
# [[bench]] sections define benchmarks.
name = "benchmark"
harness = false
path = "benches/criterion.rs"

[profile.bench]
# Profile for benchmarks.
debug = true
# [[bench]]
# # [[bench]] sections define benchmarks.
# name = "benchmark"
# harness = false
# path = "benches/criterion.rs"

# [profile.bench]
# # Profile for benchmarks.
# debug = true

[dependencies]
# Dependencies are only used for building.
Expand Down
95 changes: 0 additions & 95 deletions benches/criterion.rs

This file was deleted.

5 changes: 5 additions & 0 deletions src/datetime.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
// datetime.rs
// Copyright © 2023-2024 DateTime (DTT) library. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT
// See LICENSE-APACHE.md and LICENSE-MIT.md in the repository root for full license information.

//! A DateTime module for handling dates, times, and timezones.
//!
//! This module provides a `DateTime` struct and associated methods for
Expand Down
4 changes: 4 additions & 0 deletions tests/test_datetime.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
// test_datetime.rs
// Copyright © 2023-2024 DateTime (DTT) library. All rights reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT
// See LICENSE-APACHE.md and LICENSE-MIT.md in the repository root for full license information.

//! Unit tests for the `DateTime` module.

use dtt::datetime::{DateTime, DateTimeError};
Expand Down

0 comments on commit 76c7c0a

Please sign in to comment.