Skip to content

Commit 0f79249

Browse files
authored
Merge pull request #55 from mlabs-haskell/szg251/improvements
plutus-ledger-api V2
2 parents 4135012 + 1210948 commit 0f79249

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+6151
-2134
lines changed

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ result
22
.direnv
33
.pre-commit-config.yaml
44
.DS_Store
5+
target
6+
.extras

flake.nix

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
./hercules-ci.nix
2424

2525
./plutus-ledger-api/build.nix
26+
./is-plutus-data-derive/build.nix
2627
];
2728
debug = true;
2829
systems = [ "x86_64-linux" "x86_64-darwin" ];

is-plutus-data-derive/.envrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
use flake ../#dev-is-plutus-data-derive-rust

is-plutus-data-derive/Cargo.lock

+68
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

is-plutus-data-derive/Cargo.toml

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
[package]
2+
name = "is-plutus-data-derive"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
[dependencies]
7+
proc-macro2 = "^1.0.66"
8+
quote = "1.0.37"
9+
syn = { version = "2.0.79", features = ["full", "extra-traits"]}
10+
thiserror = "1.0.64"
11+
12+
[lib]
13+
proc-macro = true

is-plutus-data-derive/build.nix

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{ inputs, ... }: {
2+
perSystem = { config, system, ... }:
3+
let
4+
rustFlake =
5+
inputs.flake-lang.lib.${system}.rustFlake {
6+
src = ./.;
7+
version = "0";
8+
crateName = "is-plutus-data-derive";
9+
devShellHook = config.settings.shell.hook;
10+
cargoNextestExtraArgs = "--all-features";
11+
generateDocs = false;
12+
};
13+
14+
in
15+
{
16+
inherit (rustFlake) packages checks devShells;
17+
};
18+
}

0 commit comments

Comments
 (0)