Skip to content

Commit

Permalink
Polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Sep 27, 2023
1 parent 55c6db2 commit a330ecc
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 129 deletions.
107 changes: 0 additions & 107 deletions Cargo.lock

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

4 changes: 1 addition & 3 deletions crates/core/tests/user_config_test.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
use proto_core::{UserConfig, USER_CONFIG_NAME};
use proto_core::{PinType, UserConfig, USER_CONFIG_NAME};
use starbase_sandbox::create_empty_sandbox;
use std::collections::BTreeMap;
use std::env;
use warpgate::{GitHubLocator, HttpOptions, Id, PluginLocator};

mod user_config {
use proto_core::PinType;

use super::*;

#[test]
Expand Down
5 changes: 0 additions & 5 deletions crates/version-spec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@ repository = "https://github.com/moonrepo/proto"
human-sort = { workspace = true }
once_cell = { workspace = true }
regex = { workspace = true }
schematic = { version = "0.11.7", default-features = false, optional = true }
semver = { workspace = true }
serde = { workspace = true }

[features]
default = []
schematic = ["dep:schematic"]
7 changes: 0 additions & 7 deletions crates/version-spec/src/resolved_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,3 @@ impl PartialEq<Version> for VersionSpec {
}
}
}

#[cfg(feature = "schematic")]
impl schematic::Schematic for VersionSpec {
fn generate_schema() -> schematic::SchemaType {
schematic::SchemaType::string()
}
}
7 changes: 0 additions & 7 deletions crates/version-spec/src/unresolved_spec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,3 @@ impl PartialEq<VersionSpec> for UnresolvedVersionSpec {
}
}
}

#[cfg(feature = "schematic")]
impl schematic::Schematic for UnresolvedVersionSpec {
fn generate_schema() -> schematic::SchemaType {
schematic::SchemaType::string()
}
}

0 comments on commit a330ecc

Please sign in to comment.