Skip to content

Commit 2b87a72

Browse files
committed
Update to cgp v0.5.0
1 parent d7a08cf commit 2b87a72

File tree

4 files changed

+45
-25
lines changed

4 files changed

+45
-25
lines changed

Cargo.lock

Lines changed: 40 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ cgp-serde-json = { path = "./crates/cgp-serde-json" }
4242
cgp-serde-alloc = { path = "./crates/cgp-serde-alloc" }
4343
cgp-serde-typed-arena = { path = "./crates/cgp-serde-typed-arena" }
4444

45-
cgp = { git = "https://github.com/contextgeneric/cgp.git", branch = "v0.5.0-release" }
46-
cgp-error-anyhow = { git = "https://github.com/contextgeneric/cgp.git", branch = "v0.5.0-release" }
45+
# cgp = { git = "https://github.com/contextgeneric/cgp.git" }
46+
# cgp-error-anyhow = { git = "https://github.com/contextgeneric/cgp.git" }

crates/cgp-serde-alloc/src/providers/alloc_deserialize.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use cgp_serde::components::{CanDeserializeValue, ValueDeserializer, ValueDeseria
44
use crate::traits::CanAlloc;
55

66
#[cgp_new_provider]
7-
impl<'de, 'a, Context, Value> ValueDeserializer<'de, Context, &'a Value> for DeserailizeAndAllocate
7+
impl<'de, 'a, Context, Value> ValueDeserializer<'de, Context, &'a Value> for DeserializeAndAllocate
88
where
99
Context: CanAlloc<'a, Value> + CanDeserializeValue<'de, Value>,
1010
{

crates/cgp-serde-tests/src/tests/arena.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use cgp::prelude::*;
44
use cgp_error_anyhow::{RaiseAnyhowError, UseAnyhowError};
55
use cgp_serde::components::ValueDeserializerComponent;
66
use cgp_serde::providers::{DeserializeExtend, DeserializeRecordFields, UseSerde};
7-
use cgp_serde_alloc::providers::DeserailizeAndAllocate;
7+
use cgp_serde_alloc::providers::DeserializeAndAllocate;
88
use cgp_serde_alloc::traits::AllocatorComponent;
99
use cgp_serde_json::code::{DeserializeJson, SerializeJson};
1010
use cgp_serde_json::{DeserializeFromJsonString, SerializeToJsonString};
@@ -47,7 +47,7 @@ delegate_components! {
4747
Coord:
4848
DeserializeRecordFields,
4949
<'a> &'a Coord:
50-
DeserailizeAndAllocate,
50+
DeserializeAndAllocate,
5151
<'a> Vec<&'a Coord>:
5252
DeserializeExtend,
5353
<'a> Payload<'a>:

0 commit comments

Comments
 (0)