Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issues with automatic policy attachment on Mac by bumping small_ctor to 0.1.2 #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
4 changes: 2 additions & 2 deletions alohomora/Cargo.lock

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

2 changes: 1 addition & 1 deletion alohomora/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ erased-serde = "0.3.25"
mysql = "21.0.2"
mysql_common = "0.22"
dynfmt = { version = "0.1.5", features = ["curly"] }
small_ctor = "0.1.0"
small_ctor = "0.1.2"
cookie = { version = "0.15", features = ["percent-encode"] }
time = { version = "0.2.11", default-features = false, features = ["std"] }
indexmap = "1.7.0"
Expand Down
4 changes: 2 additions & 2 deletions alohomora_derive/Cargo.lock

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

4 changes: 2 additions & 2 deletions alohomora_lints/Cargo.lock

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

4 changes: 2 additions & 2 deletions harness/Cargo.lock

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

4 changes: 2 additions & 2 deletions pcr_examples/Cargo.lock

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

4 changes: 2 additions & 2 deletions sandbox_harness/Cargo.lock

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

4 changes: 2 additions & 2 deletions websubmit_boxed/Cargo.lock

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

30 changes: 0 additions & 30 deletions websubmit_boxed/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,36 +31,6 @@ fn new_logger() -> slog::Logger {
}

pub fn make_rocket(args: args::Args) -> BBoxRocket<Build> {
// println!("args riocets are {:?}", args);
add_schema_policy::<policies::AnswerAccessPolicy>(String::from("answers"), 0usize);
add_schema_policy::<policies::AnswerAccessPolicy>(String::from("answers"), 1usize);
add_schema_policy::<policies::AnswerAccessPolicy>(String::from("answers"), 2usize);
add_schema_policy::<policies::AnswerAccessPolicy>(String::from("answers"), 3usize);
add_schema_policy::<policies::AnswerAccessPolicy>(String::from("answers"), 4usize);
add_schema_policy::<policies::AnswerAccessPolicy>(String::from("answers"), 5usize);

add_schema_policy::<policies::UserProfilePolicy>(String::from("users"), 5usize);
add_schema_policy::<policies::UserProfilePolicy>(String::from("users"), 6usize);
add_schema_policy::<policies::UserProfilePolicy>(String::from("users"), 7usize);

add_schema_policy::<policies::KAnonymityPolicy>(String::from("agg_gender"), 1usize);
add_schema_policy::<policies::KAnonymityPolicy>(String::from("agg_remote"), 1usize);

add_schema_policy::<policies::AggregateAccessPolicy>(String::from("agg_gender"), 1usize);
add_schema_policy::<policies::AggregateAccessPolicy>(String::from("agg_remote"), 1usize);

add_schema_policy::<policies::MLTrainingPolicy>(String::from("ml_training"), 0usize);
add_schema_policy::<policies::MLTrainingPolicy>(String::from("ml_training"), 1usize);

add_schema_policy::<policies::EmployersReleasePolicy>(
String::from("employers_release"),
0usize,
);
add_schema_policy::<policies::EmployersReleasePolicy>(
String::from("employers_release"),
1usize,
);

let config = args.config;

let backend = Arc::new(Mutex::new(
Expand Down
4 changes: 2 additions & 2 deletions youchat/Cargo.lock

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