Skip to content

Commit

Permalink
revise: renames service module to service_info
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Sep 21, 2024
1 parent ce85941 commit c166a69
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Gates serialization/deserialization behind the `serde` feature.
- Makes most structs `Clone`.
- Converts `ServiceInfo` to use a builder for construction.
- Changes the `v1::types::responses::service` module to
`v1::types::responses::service_info`.

## 0.2.0 - 08-08-2024

Expand Down
4 changes: 2 additions & 2 deletions src/v1/types/responses.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//! Responses from a service.

pub mod service;
pub mod service_info;
pub mod task;

pub use service::ServiceInfo;
pub use service_info::ServiceInfo;

/// A response from `POST /tasks`.
#[derive(Clone, Debug, Default, Eq, PartialEq)]
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ use chrono::Utc;
use url::Url;

use crate::v1::types::responses::ServiceInfo;
use crate::v1::types::responses::service::Artifact;
use crate::v1::types::responses::service::Organization;
use crate::v1::types::responses::service::ServiceType;
use crate::v1::types::responses::service::TES_VERSION;
use crate::v1::types::responses::service_info::Artifact;
use crate::v1::types::responses::service_info::Organization;
use crate::v1::types::responses::service_info::ServiceType;
use crate::v1::types::responses::service_info::TES_VERSION;

/// The default group to use for the service.
pub const DEFAULT_GROUP: &str = "org.ga4gh";
Expand Down

0 comments on commit c166a69

Please sign in to comment.