Commit caba61b
committed
Move abstract::Policy to crate/abstract/mod.rs
The abstract policy is different from the concrete policy because it is
only part of rust-miniscript and not miniscript in general. To help
differentiate it move it to a separate module.
Note to reviewers, `git` couldn't work out that this is basically a file
move so I've left the `src/policy/abstract.rs` file in the repo but it
is not included in the build. Reviewers can do `diff
src/policy/abstract.rs src/abstract/mod.rs` to ease review. It will be
removed in the next patch.1 parent ff3ae26 commit caba61b
File tree
10 files changed
+970
-17
lines changed- fuzz/fuzz_targets
- src
- abstract
- descriptor
- policy
10 files changed
+970
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | | - | |
| 5 | + | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
230 | | - | |
| 230 | + | |
231 | 231 | | |
232 | 232 | | |
233 | 233 | | |
| |||
0 commit comments