Skip to content

Commit 41f8935

Browse files
committed
models::NewVersion: Add missing pub declarations
1 parent 8cab5f2 commit 41f8935

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/models/version.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ pub struct Version {
2929
#[derive(Insertable, Debug)]
3030
#[table_name = "versions"]
3131
pub struct NewVersion {
32-
crate_id: i32,
33-
num: String,
34-
features: serde_json::Value,
35-
license: Option<String>,
36-
crate_size: Option<i32>,
37-
published_by: i32,
32+
pub crate_id: i32,
33+
pub num: String,
34+
pub features: serde_json::Value,
35+
pub license: Option<String>,
36+
pub crate_size: Option<i32>,
37+
pub published_by: i32,
3838
}
3939

4040
/// The highest version (semver order) and the most recently updated version.

0 commit comments

Comments
 (0)