Skip to content

Commit

Permalink
Merge pull request #17 from EspressoSystems/use_mod_rs_for_aliases
Browse files Browse the repository at this point in the history
Looks like rust-analyzer (but not rustc) only wants to see module symbols in mod.rs, not lib.rs...
  • Loading branch information
nyospe authored Feb 21, 2024
2 parents cd736f2 + 87c6980 commit 399f9c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update_nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Nix
uses: cachix/install-nix-action@v25

- uses: cachix/cachix-action@v14
- uses: cachix/cachix-action@v13
with:
name: espresso-systems-private
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@ pub mod binary_serializer;
pub mod bincode_serializer;
pub mod version;
pub mod versioned;

pub use binary_serializer::BinarySerializer;
pub type Serializer<const MAJOR: u16, const MINOR: u16> =
bincode_serializer::BincodeSerializer<MAJOR, MINOR>;
2 changes: 2 additions & 0 deletions src/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub use crate::binary_serializer::BinarySerializer;
pub use crate::bincode_serializer::BincodeSerializer as Serializer;

0 comments on commit 399f9c0

Please sign in to comment.