Skip to content

Commit

Permalink
remove unimplemented service feature
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicBurkart committed Sep 30, 2020
1 parent 83290a1 commit 35d81b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ license = "Hippocratic-2.1"

[features]
distributed = ["chrono", "async-std", "turbolift_macros/distributed"]
service = ["serde_json"]
# todo we can optimize reqs for children with this load

[dependencies]
Expand All @@ -19,4 +18,4 @@ async-std = { version = "1.6", optional = true }
chrono = { version = "0.4", optional = true }
cached = { version = "0.19" }
actix-web = { version = "3" }
serde_json = { version = "1", optional = true }
serde_json = { version = "1" }
4 changes: 1 addition & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ pub use async_std;
#[cfg(feature = "distributed")]
pub use chrono;

#[cfg(feature = "service")]
pub use serde_json;

pub use actix_web;
pub use cached;
pub use serde_json;

pub use distributed_platform::{DistributionPlatform, DistributionResult};
pub use turbolift_internals::*;
Expand Down
2 changes: 1 addition & 1 deletion turbolift_internals/src/build_project.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pub fn lint(proj_path: &Path) -> anyhow::Result<()> {
pub fn make_executable(proj_path: &Path, dest: Option<&Path>) -> anyhow::Result<()> {
let status = Command::new("cargo")
.current_dir(proj_path)
.args("build --release --features \"distributed,service\"".split(' '))
.args("build --release --features \"distributed\"".split(' '))
.status()?;

if !status.success() {
Expand Down

0 comments on commit 35d81b2

Please sign in to comment.