Skip to content

Commit

Permalink
derive the shit out of it
Browse files Browse the repository at this point in the history
  • Loading branch information
chfanghr committed Oct 17, 2024
1 parent 001c558 commit c7812dd
Show file tree
Hide file tree
Showing 14 changed files with 155 additions and 1,535 deletions.
24 changes: 24 additions & 0 deletions plutus-ledger-api/Cargo.lock

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

5 changes: 3 additions & 2 deletions plutus-ledger-api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ impl_ops = "0.1.1"
chrono = { version = "0.4.34", optional = true }
cardano-serialization-lib = "12.1.0"
anyhow = "1.0.86"
plutus-data = { path = ".extras/plutus-data-0", features = [ "derive" ]}

[features]
default = []
serde = ["dep:serde", "num-bigint/serde", "dep:serde_json"]
lbf = ["dep:lbr-prelude", "dep:serde_json"]
serde = ["dep:serde", "num-bigint/serde", "dep:serde_json", "plutus-data/serde"]
lbf = ["dep:lbr-prelude", "dep:serde_json", "plutus-data/lbf"]
chrono = ["dep:chrono"]

[dev-dependencies]
Expand Down
4 changes: 4 additions & 0 deletions plutus-ledger-api/build.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
extraSourceFilters = [
(path: _type: builtins.match ".*golden$" path != null)
];
extraSources = [
config.packages.is-plutus-data-derive-rust-src
config.packages.plutus-data-rust-src
];
};

plutus-ledger-api-rust-github-pages = pkgs.stdenv.mkDerivation {
Expand Down
Loading

0 comments on commit c7812dd

Please sign in to comment.