From d95f26b21e82c217a831626cb2fdd9cb90f3e79d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 4 Feb 2020 16:02:04 +0100 Subject: [PATCH 1/4] Use the standard spdx syntax for license --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4072d09..383c999 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.0.1" authors = ["Stjepan Glavina "] edition = "2018" description = "WIP" -license = "Apache-2.0/MIT" +license = "MIT OR Apache-2.0" [dependencies] async-task = "1.3.0" From 3b2f02a53455c58d6a303f05905c94e4991ab96d Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 4 Feb 2020 16:02:25 +0100 Subject: [PATCH 2/4] Switch version to 0.1.0 0.0.x means that you can't publish a semver-compatible upgrade ever, and should be avoided for that reason --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 383c999..44b7200 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "smol" -version = "0.0.1" +version = "0.1.0" authors = ["Stjepan Glavina "] edition = "2018" description = "WIP" From 51c84febec0250fa910a16866ee8ff62d7bb7e41 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 4 Feb 2020 16:03:39 +0100 Subject: [PATCH 3/4] forbid unsafe code forbid is stronger than deny in that you can override `deny` with allow, but `forbid` is non-overrideable. --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index e953560..87f66db 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,4 +1,4 @@ -#![deny(unsafe_code)] +#![forbid(unsafe_code)] use std::collections::BTreeMap; use std::future::Future; From 3c0bdc03252d91e28f2daff240011cb0a584a448 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Tue, 4 Feb 2020 16:10:43 +0100 Subject: [PATCH 4/4] Drop unused dependency --- Cargo.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 44b7200..08edcd7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,6 @@ license = "MIT OR Apache-2.0" [dependencies] async-task = "1.3.0" crossbeam = "0.7.3" -eventvar = { path = "../eventvar" } futures = "0.3.1" nix = "0.16.1" num_cpus = "1.12.0"