Skip to content

Commit

Permalink
cargo new serde-redes
Browse files Browse the repository at this point in the history
  • Loading branch information
tinybeachthor committed Oct 20, 2024
1 parent 3760db6 commit f6ce7df
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 3 deletions.
4 changes: 4 additions & 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
@@ -1,11 +1,12 @@
[workspace]
members = ["serde-ast"]
members = ["serde-ast", "serde-redes"]
resolver = "2"

[workspace.metadata.crane]
name = "serde-redes-workspace"

[workspace.package]
edition = "2021"
version = "0.0.0"
license = "MIT OR Apache-2.0"
repository = "https://github.com/tinybeachthor/serde-redes"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ The ultimate goal is to allow ergonomically extending `serde`:
- allow easily extending the existing serializers with extra features
- add support for comments in `serde` output

## [serde-redes](./serde-redes/)



## [serde-ast](./serde-ast/)

[![Crates.io Version](https://img.shields.io/crates/v/serde-ast)](https://crates.io/crates/serde-ast)
Expand Down
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
commonArgs = {
inherit src;
strictDeps = true;
doCheck = false; # do not run tests during build
doCheck = false; # do not run tests during build, use nextest check instead
};
cargoArtifacts = craneLib.buildDepsOnly (commonArgs // {
pname = "serde-redes-deps-only";
Expand All @@ -49,11 +49,13 @@
in {
packages = {
serde-ast = craneLib.buildPackage (individualCrateArgs ./serde-ast);
serde-redes = craneLib.buildPackage (individualCrateArgs ./serde-redes);

default = pkgs.symlinkJoin {
name = "serde-redes-all";
paths = with self.packages.${system}; [
serde-ast
serde-redes
];
};
};
Expand Down
2 changes: 1 addition & 1 deletion serde-ast/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "serde-ast"
version = "0.1.0-alpha.1"
edition = "2021"
edition = { workspace = true }
description = "An AST representation for serde serialization"
readme = "README.md"
categories = ["encoding"]
Expand Down
9 changes: 9 additions & 0 deletions serde-redes/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "serde-redes"
version = "0.1.0-alpha.1"
edition = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
homepage = { workspace = true }

[dependencies]
2 changes: 2 additions & 0 deletions serde-redes/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
pub trait Serialize {
}

0 comments on commit f6ce7df

Please sign in to comment.