Skip to content

Commit

Permalink
Merge pull request #55 from mlabs-haskell/szg251/improvements
Browse files Browse the repository at this point in the history
plutus-ledger-api V2
  • Loading branch information
szg251 authored Nov 7, 2024
2 parents 4135012 + 1210948 commit 0f79249
Show file tree
Hide file tree
Showing 71 changed files with 6,151 additions and 2,134 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@ result
.direnv
.pre-commit-config.yaml
.DS_Store
target
.extras
1 change: 1 addition & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
./hercules-ci.nix

./plutus-ledger-api/build.nix
./is-plutus-data-derive/build.nix
];
debug = true;
systems = [ "x86_64-linux" "x86_64-darwin" ];
Expand Down
1 change: 1 addition & 0 deletions is-plutus-data-derive/.envrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
use flake ../#dev-is-plutus-data-derive-rust
68 changes: 68 additions & 0 deletions is-plutus-data-derive/Cargo.lock

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

13 changes: 13 additions & 0 deletions is-plutus-data-derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[package]
name = "is-plutus-data-derive"
version = "0.1.0"
edition = "2021"

[dependencies]
proc-macro2 = "^1.0.66"
quote = "1.0.37"
syn = { version = "2.0.79", features = ["full", "extra-traits"]}
thiserror = "1.0.64"

[lib]
proc-macro = true
18 changes: 18 additions & 0 deletions is-plutus-data-derive/build.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{ inputs, ... }: {
perSystem = { config, system, ... }:
let
rustFlake =
inputs.flake-lang.lib.${system}.rustFlake {
src = ./.;
version = "0";
crateName = "is-plutus-data-derive";
devShellHook = config.settings.shell.hook;
cargoNextestExtraArgs = "--all-features";
generateDocs = false;
};

in
{
inherit (rustFlake) packages checks devShells;
};
}
Loading

0 comments on commit 0f79249

Please sign in to comment.