Skip to content

Commit 157b7e4

Browse files
committed
refactor: mv to crates dir
1 parent 7a4ef3d commit 157b7e4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+8
-5
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
resolver = "2"
3-
members = ["synd", "syndapi", "syndterm"]
3+
members = ["crates/*"]
44

55
[workspace.package]
66
description = "terminal feed viewer"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

flake.nix

+7-4
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,17 @@
4545
cargoArtifacts = craneLib.buildDepsOnly commonArgs;
4646

4747
syndtermCrate = craneLib.crateNameFromCargoToml {
48-
cargoToml = ./syndterm/Cargo.toml;
48+
cargoToml = ./crates/syndterm/Cargo.toml;
4949
};
5050
syndterm = craneLib.buildPackage (commonArgs // {
5151
inherit cargoArtifacts;
5252
inherit (syndtermCrate) pname version;
5353
cargoExtraArgs = "--package ${syndtermCrate.pname}";
5454
});
5555

56-
syndapiCrate =
57-
craneLib.crateNameFromCargoToml { cargoToml = ./syndapi/Cargo.toml; };
56+
syndapiCrate = craneLib.crateNameFromCargoToml {
57+
cargoToml = ./crates/syndapi/Cargo.toml;
58+
};
5859
syndapi = craneLib.buildPackage (commonArgs // {
5960
inherit cargoArtifacts;
6061
inherit (syndapiCrate) pname version;
@@ -72,7 +73,9 @@
7273

7374
nextest = craneLib.cargoNextest (commonArgs // {
7475
inherit cargoArtifacts;
75-
cargoExtraArgs = "--features integration";
76+
# currently disable integration test in flake
77+
# we could not do network call
78+
# cargoExtraArgs = "--features integration";
7679
CARGO_PROFILE = "";
7780
});
7881

0 commit comments

Comments
 (0)