Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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