This repository has been archived by the owner on Sep 21, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor internal record representation as a wrapper around a UCAN au…
…th token representing permission to publish.
- Loading branch information
Showing
14 changed files
with
831 additions
and
566 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,15 @@ | ||
#[cfg(not(target_arch = "wasm32"))] | ||
#![cfg(not(target_arch = "wasm32"))] | ||
|
||
#[macro_use] | ||
extern crate tracing; | ||
|
||
#[cfg(not(target_arch = "wasm32"))] | ||
pub mod dht; | ||
|
||
#[cfg(not(target_arch = "wasm32"))] | ||
mod builder; | ||
#[cfg(not(target_arch = "wasm32"))] | ||
pub mod dht; | ||
mod name_system; | ||
#[cfg(not(target_arch = "wasm32"))] | ||
mod records; | ||
pub mod utils; | ||
|
||
#[cfg(not(target_arch = "wasm32"))] | ||
pub use builder::NameSystemBuilder; | ||
#[cfg(not(target_arch = "wasm32"))] | ||
pub use cid::Cid; | ||
#[cfg(not(target_arch = "wasm32"))] | ||
pub use libp2p::Multiaddr; | ||
#[cfg(not(target_arch = "wasm32"))] | ||
pub use libp2p::multiaddr; | ||
pub use name_system::NameSystem; | ||
#[cfg(not(target_arch = "wasm32"))] | ||
pub use records::NSRecord; |
Oops, something went wrong.