Skip to content

Commit

Permalink
Merge pull request #340 from niklasdewally/remove-uniplate-files
Browse files Browse the repository at this point in the history
Remove uniplate files, use version from crates.io
  • Loading branch information
ozgurakgun authored Sep 26, 2024
2 parents 3d52f50 + 1dbe7ca commit fe47a92
Show file tree
Hide file tree
Showing 43 changed files with 24 additions and 2,758 deletions.
96 changes: 12 additions & 84 deletions Cargo.lock

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

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,13 @@ default-members = [
"crates/conjure_core",
"solvers/kissat",
"solvers/minion",
"crates/uniplate",
]

members = [
"conjure_oxide",
"crates/conjure_core",
"crates/enum_compatability_macro",
"crates/conjure_macros",
"crates/uniplate",
"crates/uniplate_derive",
"solvers/kissat",
"solvers/minion",
"solvers/chuffed",
Expand Down
2 changes: 1 addition & 1 deletion conjure_oxide/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ walkdir = "2.5.0"

[dependencies]
conjure_core = { path = "../crates/conjure_core" }
uniplate = {path = "../crates/uniplate"}
minion_rs = { path = "../solvers/minion" }

uniplate = "0.1.1"
serde = { version = "1.0.203", features = ["derive"] }
serde_json = "1.0.119"
serde_with = "3.8.2"
Expand Down
2 changes: 1 addition & 1 deletion conjure_oxide/tests/rewrite_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use conjure_oxide::{
utils::testing::save_stats_json,
Metadata, Model, Rule,
};
use uniplate::biplate::Uniplate;
use uniplate::Uniplate;

#[test]
fn rules_present() {
Expand Down
2 changes: 1 addition & 1 deletion crates/conjure_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ edition = "2021"
[dependencies]
conjure_macros = { path = "../conjure_macros" }
enum_compatability_macro = { path = "../enum_compatability_macro" }
uniplate = { path = "../uniplate"}
minion_rs = { path = "../../solvers/minion" }

uniplate = "0.1.1"
project-root = "0.2.2"
linkme = "0.3.27"
serde = { version = "1.0.203", features = ["derive"] }
Expand Down
3 changes: 2 additions & 1 deletion crates/conjure_core/src/ast/constants.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use std::fmt::{Display, Formatter};

use serde::{Deserialize, Serialize};
use uniplate::Uniplate;
use uniplate::derive::Uniplate;
use uniplate::{Biplate, Uniplate};

#[derive(Clone, Debug, PartialEq, Eq, Serialize, Deserialize, Uniplate)]
#[uniplate()]
Expand Down
3 changes: 2 additions & 1 deletion crates/conjure_core/src/ast/expressions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ use std::fmt::{Display, Formatter};
use serde::{Deserialize, Serialize};

use enum_compatability_macro::document_compatibility;
use uniplate::Uniplate;
use uniplate::derive::Uniplate;
use uniplate::{Biplate, Uniplate};

use crate::ast::constants::Constant;
use crate::ast::symbol_table::{Name, SymbolTable};
Expand Down
2 changes: 1 addition & 1 deletion crates/conjure_core/src/rule_engine/rewrite.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::fmt::Display;
use thiserror::Error;

use crate::stats::RewriterStats;
use uniplate::biplate::Uniplate;
use uniplate::Uniplate;

use crate::rule_engine::{Reduction, Rule, RuleSet};
use crate::{
Expand Down
2 changes: 1 addition & 1 deletion crates/conjure_core/src/rules/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use conjure_core::rule_engine::{
register_rule, register_rule_set, ApplicationError, ApplicationResult, Reduction,
};
use conjure_core::Model;
use uniplate::biplate::Uniplate;
use uniplate::Uniplate;

/*****************************************************************************/
/* This file contains basic rules for simplifying expressions */
Expand Down
2 changes: 1 addition & 1 deletion crates/conjure_core/src/rules/bubble.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use conjure_core::rule_engine::{
register_rule, register_rule_set, ApplicationError, ApplicationResult, Reduction,
};
use conjure_core::Model;
use uniplate::biplate::Uniplate;
use uniplate::Uniplate;

register_rule_set!("Bubble", 254, ("Base"));

Expand Down
2 changes: 1 addition & 1 deletion crates/conjure_core/src/rules/minion.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ use crate::rule_engine::{
};
use crate::solver::SolverFamily;
use crate::Model;
use uniplate::biplate::Uniplate;
use uniplate::Uniplate;

register_rule_set!("Minion", 100, ("Base"), (SolverFamily::Minion));

Expand Down
1 change: 0 additions & 1 deletion crates/uniplate/.gitignore

This file was deleted.

28 changes: 0 additions & 28 deletions crates/uniplate/Cargo.toml

This file was deleted.

41 changes: 0 additions & 41 deletions crates/uniplate/examples/stmt.rs

This file was deleted.

1 change: 0 additions & 1 deletion crates/uniplate/proptest-regressions/test_common/paper.txt

This file was deleted.

8 changes: 0 additions & 8 deletions crates/uniplate/proptest-regressions/tree.txt

This file was deleted.

Loading

0 comments on commit fe47a92

Please sign in to comment.