Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
feat: Promote NsRecord into a core object by extending noosphere_core…
Browse files Browse the repository at this point in the history
…::data::LinkRecord with its functionality, and removing the noosphere_ns dependency on validating records. Fixes #395
  • Loading branch information
jsantell committed May 22, 2023
1 parent f9e0aec commit b36c38b
Show file tree
Hide file tree
Showing 28 changed files with 644 additions and 841 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ void = { version = "1" }
wnfs-namefilter = { version = "0.1.20" }
strum = { version = "0.24" }
strum_macros = { version = "0.24" }

serde = { version = "^1" }
serde_json = { version = "^1" }

[profile.release]
opt-level = 'z'
Expand Down
2 changes: 1 addition & 1 deletion rust/noosphere-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ anyhow = "^1"
thiserror = { workspace = true }
cid = { workspace = true }
url = "^2"
serde = "^1"
serde = { workspace = true }
serde_urlencoded = "~0.7"
tracing = { workspace = true }
noosphere-core = { version = "0.11.0", path = "../noosphere-core" }
Expand Down
4 changes: 2 additions & 2 deletions rust/noosphere-cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ ucan-key-support = { workspace = true }
cid = { workspace = true }
subtext = "0.3.2"

serde = "^1"
serde_json = "^1"
serde = { workspace = true }
serde_json = { workspace = true }
libipld-core = { workspace = true }
libipld-cbor = { workspace = true }

Expand Down
4 changes: 2 additions & 2 deletions rust/noosphere-collections/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ anyhow = "^1"
sha2 = "0.10"
cid = { workspace = true }
forest_hash_utils = "0.1.0"
serde = "^1"
serde = { workspace = true }
serde_bytes = "0.11"
serde_ipld_dagcbor = "0.2"
byteorder = "^1.4"
Expand All @@ -48,4 +48,4 @@ tokio = { version = "^1", features = ["full"] }
wasm-bindgen-test = "0.3"

[features]
identity = []
identity = []
3 changes: 2 additions & 1 deletion rust/noosphere-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ anyhow = "^1"
fastcdc = "3"
futures = "~0.3"
fvm_ipld_amt = "~0.5"
serde = "^1"
serde = { workspace = true }
byteorder = "^1.4"
base64 = "0.21"
ed25519-zebra = "^3"
Expand All @@ -56,6 +56,7 @@ ucan-key-support = { workspace = true }
[dev-dependencies]
wasm-bindgen-test = "~0.3"
serde_bytes = "~0.11"
serde_json = { workspace = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "^1", features = ["full"] }
Expand Down
Loading

0 comments on commit b36c38b

Please sign in to comment.