diff --git a/.cargo/config.toml b/.cargo/config.toml index efe33ef..cf1f179 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -2,3 +2,9 @@ [build] rustflags = [ "--cfg=web_sys_unstable_apis" ] +[registry] +default = "xinu" +global-credential-providers = ["cargo:token"] + +[registries.xinu] +index = "sparse+https://git.z.xinu.tv/api/packages/wathiede/cargo/" diff --git a/Cargo.lock b/Cargo.lock index 10a2490..cc3ca78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -671,8 +671,9 @@ dependencies = [ [[package]] name = "cacher" -version = "0.1.0" -source = "git+http://git-private.h.xinu.tv/wathiede/cacher.git#4f59e1f04329fc88935f2d5c503cff8cca9064b1" +version = "0.1.3" +source = "sparse+https://git.z.xinu.tv/api/packages/wathiede/cargo/" +checksum = "3efe80fe16e1636f1bbcee7aeaa7b736980ed8ab0c7ac90fb17008d6ab6e8f77" dependencies = [ "async-trait", "bitcode", diff --git a/server/Cargo.toml b/server/Cargo.toml index d837ed3..af258bf 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -13,7 +13,7 @@ async-graphql = { version = "7", features = ["log"] } async-graphql-rocket = "7" async-trait = "0.1.81" build-info = "0.0.38" -cacher = {git = "http://git-private.h.xinu.tv/wathiede/cacher.git"} +cacher = { version = "0.1.0", registry = "xinu" } chrono = "0.4.39" clap = { version = "4.5.23", features = ["derive"] } css-inline = "0.13.0" @@ -27,7 +27,7 @@ memmap = "0.7.0" notmuch = { path = "../notmuch" } opentelemetry = "0.27.1" reqwest = { version = "0.12.7", features = ["blocking"] } -rocket = { version = "0.5.0-rc.2", features = [ "json" ] } +rocket = { version = "0.5.0-rc.2", features = ["json"] } rocket_cors = "0.6.0" scraper = "0.20.0" serde = { version = "1.0.147", features = ["derive"] } @@ -48,4 +48,4 @@ build-info-build = "0.0.38" [features] #default = [ "tantivy" ] -tantivy = [ "dep:tantivy" ] +tantivy = ["dep:tantivy"] diff --git a/server/build.rs b/server/build.rs index a860094..a49ab18 100644 --- a/server/build.rs +++ b/server/build.rs @@ -1,5 +1,5 @@ fn main() { - // Calling `build_info_build::build_script` collects all data and makes it available to `build_info::build_info!` - // and `build_info::format!` in the main program. - build_info_build::build_script(); + // Calling `build_info_build::build_script` collects all data and makes it available to `build_info::build_info!` + // and `build_info::format!` in the main program. + build_info_build::build_script(); }