Skip to content

Commit fdcc924

Browse files
committed
features_client
1 parent dae12cd commit fdcc924

File tree

13 files changed

+19
-19
lines changed

13 files changed

+19
-19
lines changed

lib/bencher_boundary/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ license-file.workspace = true
77
publish = false
88

99
[features]
10+
client = ["bencher_json/client"]
1011
full = ["bencher_json/full"]
11-
lite = ["bencher_json/lite"]
1212
plus = ["bencher_json/plus"]
1313

1414
[dependencies]

lib/bencher_client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ license-file.workspace = true
77
publish = false
88

99
[features]
10-
default = ["lite", "plus", "rustls-tls"]
10+
default = ["client", "plus", "rustls-tls"]
11+
client = ["bencher_json/client"]
1112
full = ["bencher_json/full"]
12-
lite = ["bencher_json/lite"]
1313
plus = ["bencher_json/plus"]
1414
# Reqwest TLS
1515
native-tls = ["reqwest/native-tls"]

lib/bencher_json/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ license-file.workspace = true
77
publish = false
88

99
[features]
10+
client = ["bencher_context/client", "bencher_valid/client"]
1011
full = ["bencher_valid/full"]
11-
lite = ["bencher_context/client", "bencher_valid/lite"]
1212
db = ["diesel", "serde_yaml", "bencher_valid/db"]
1313
plus = ["bencher_valid/plus"]
1414
schema = ["dep:schemars", "bencher_context/schema", "ordered-float/schemars"]

lib/bencher_plot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ publish = false
88

99
[features]
1010
default = ["full"]
11+
client = ["bencher_json/client"]
1112
full = ["bencher_json/full"]
12-
lite = ["bencher_json/lite"]
1313

1414
[dependencies]
1515
bencher_json.workspace = true

lib/bencher_valid/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ publish = false
1010
crate-type = ["cdylib", "rlib"]
1111

1212
[features]
13+
client = ["dep:regex-lite"]
1314
full = ["dep:rand", "dep:regex"]
14-
lite = ["dep:regex-lite"]
1515
db = ["dep:diesel"]
1616
plus = ["chrono/clock"]
1717
schema = ["dep:schemars", "ordered-float/schemars"]
@@ -20,7 +20,7 @@ wasm = [
2020
"dep:wasm-bindgen",
2121
"dep:serde_json",
2222
"chrono/wasmbind",
23-
"lite",
23+
"client",
2424
]
2525

2626
[dependencies]

lib/bencher_valid/src/plus/cvc.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::sync::LazyLock;
22

3-
#[cfg(all(feature = "full", not(feature = "lite")))]
3+
#[cfg(all(feature = "full", not(feature = "client")))]
44
use regex::Regex;
5-
#[cfg(feature = "lite")]
5+
#[cfg(feature = "client")]
66
use regex_lite::Regex;
77
#[cfg(feature = "schema")]
88
use schemars::JsonSchema;

lib/bencher_valid/src/plus/last_four.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use std::sync::LazyLock;
22

33
use derive_more::Display;
4-
#[cfg(all(feature = "full", not(feature = "lite")))]
4+
#[cfg(all(feature = "full", not(feature = "client")))]
55
use regex::Regex;
6-
#[cfg(feature = "lite")]
6+
#[cfg(feature = "client")]
77
use regex_lite::Regex;
88
#[cfg(feature = "schema")]
99
use schemars::JsonSchema;

lib/bencher_valid/src/plus/number.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::sync::LazyLock;
22

3-
#[cfg(all(feature = "full", not(feature = "lite")))]
3+
#[cfg(all(feature = "full", not(feature = "client")))]
44
use regex::Regex;
5-
#[cfg(feature = "lite")]
5+
#[cfg(feature = "client")]
66
use regex_lite::Regex;
77
#[cfg(feature = "schema")]
88
use schemars::JsonSchema;

lib/bencher_valid/src/user_name.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use std::sync::LazyLock;
22

33
use derive_more::Display;
4-
#[cfg(all(feature = "full", not(feature = "lite")))]
4+
#[cfg(all(feature = "full", not(feature = "client")))]
55
use regex::Regex;
6-
#[cfg(feature = "lite")]
6+
#[cfg(feature = "client")]
77
use regex_lite::Regex;
88
#[cfg(feature = "schema")]
99
use schemars::JsonSchema;

services/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ bencher_context = { workspace = true, features = ["client"] }
1818
bencher_adapter.workspace = true
1919
bencher_client.workspace = true
2020
bencher_comment.workspace = true
21-
bencher_json = { workspace = true, features = ["lite", "table"] }
21+
bencher_json = { workspace = true, features = ["client", "table"] }
2222
camino.workspace = true
2323
chrono = { workspace = true, features = ["clock"] }
2424
clap = { workspace = true, features = ["env"] }

0 commit comments

Comments
 (0)