Skip to content

Commit

Permalink
Fix protocol modules being private
Browse files Browse the repository at this point in the history
  • Loading branch information
morr0ne committed Sep 14, 2024
1 parent 45ef7f4 commit d891b4d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
16 changes: 8 additions & 8 deletions gen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -217,21 +217,21 @@ fn main() -> Result<()> {
}

let module_content = r#"
mod core;
pub mod core;
#[cfg(feature = "stable")]
mod stable;
pub mod stable;
#[cfg(feature = "staging")]
mod staging;
pub mod staging;
#[cfg(feature = "unstable")]
mod unstable;
pub mod unstable;
#[cfg(feature = "wlr")]
mod wlr;
pub mod wlr;
#[cfg(feature = "plasma")]
mod plasma;
pub mod plasma;
#[cfg(feature = "weston")]
mod weston;
pub mod weston;
#[cfg(feature = "cosmic")]
mod cosmic;
pub mod cosmic;
"#;

let mut server_module = OpenOptions::new()
Expand Down
16 changes: 8 additions & 8 deletions src/client/protocol.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
mod core;
pub mod core;
#[cfg(feature = "cosmic")]
mod cosmic;
pub mod cosmic;
#[cfg(feature = "plasma")]
mod plasma;
pub mod plasma;
#[cfg(feature = "stable")]
mod stable;
pub mod stable;
#[cfg(feature = "staging")]
mod staging;
pub mod staging;
#[cfg(feature = "unstable")]
mod unstable;
pub mod unstable;
#[cfg(feature = "weston")]
mod weston;
pub mod weston;
#[cfg(feature = "wlr")]
mod wlr;
pub mod wlr;
16 changes: 8 additions & 8 deletions src/server/protocol.rs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
mod core;
pub mod core;
#[cfg(feature = "cosmic")]
mod cosmic;
pub mod cosmic;
#[cfg(feature = "plasma")]
mod plasma;
pub mod plasma;
#[cfg(feature = "stable")]
mod stable;
pub mod stable;
#[cfg(feature = "staging")]
mod staging;
pub mod staging;
#[cfg(feature = "unstable")]
mod unstable;
pub mod unstable;
#[cfg(feature = "weston")]
mod weston;
pub mod weston;
#[cfg(feature = "wlr")]
mod wlr;
pub mod wlr;

0 comments on commit d891b4d

Please sign in to comment.