Skip to content

Commit 59aa7de

Browse files
quark-zjumeta-codesync[bot]
authored andcommitted
config: update some repo settigns
Reviewed By: MichaelCuevas Differential Revision: D104154582 fbshipit-source-id: fc542e439d3113a67826dde73702ebd6e0937d8e
1 parent 84b22fd commit 59aa7de

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

eden/scm/lib/config/loader/BUCK

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ rust_library(
3232
"serde_json",
3333
"serde",
3434
"serde_urlencoded",
35-
],
35+
] + ([] if rust_oss.is_oss_build() else ["base64"]),
3636
"sl_oss": [],
3737
},
3838
"lib": {"name": "configloader"},
@@ -71,6 +71,7 @@ rust_library(
7171
"//eden/scm/lib/util/hgplain:hgplain",
7272
] + ([] if rust_oss.is_oss_build() else [
7373
"//devx_www/cross_env_session_id:cross_env_session_id",
74+
"fbsource//third-party/rust:base64",
7475
"fbsource//third-party/rust:dirs",
7576
"fbsource//third-party/rust:faccess",
7677
"fbsource//third-party/rust:filetime",

eden/scm/lib/config/loader/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ harness = false
1919

2020
[dependencies]
2121
anyhow = "1.0.102"
22+
base64 = { version = "0.22.1", features = ["alloc"], optional = true }
2223
dirs = "6.0"
2324
faccess = "0.2.4"
2425
filetime = { version = "0.2.27", optional = true }
@@ -61,5 +62,5 @@ libc = "0.2.183"
6162

6263
[features]
6364
default = []
64-
fb = ["filetime", "regex", "sapling-config-remote-loader/fb", "sapling-hgtime", "sapling-http-client", "sapling-identity/fb", "sapling-types", "serde", "serde_json", "serde_urlencoded"]
65+
fb = ["base64", "filetime", "regex", "sapling-config-remote-loader/fb", "sapling-hgtime", "sapling-http-client", "sapling-identity/fb", "sapling-types", "serde", "serde_json", "serde_urlencoded"]
6566
sl_oss = []

eden/scm/lib/config/loader/src/fb.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ pub(crate) mod internalconfig;
2626
pub(crate) mod internalconfigs;
2727
pub(crate) mod thrift_types;
2828

29+
mod hooks;
2930
mod mode;
3031

3132
pub use dynamic_system::config_url;

0 commit comments

Comments
 (0)