Move Rust code to the subdirectory
This commit is contained in:
parent
94833716c3
commit
8367f549a3
14 changed files with 33 additions and 23 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
||||||
|
/Cargo.lock
|
||||||
/config/1-generated.mk
|
/config/1-generated.mk
|
||||||
/config/2-conditionals.mk
|
/config/2-conditionals.mk
|
||||||
/polytreewm
|
/polytreewm
|
||||||
|
|
26
Cargo.toml
26
Cargo.toml
|
@ -1,22 +1,4 @@
|
||||||
[package]
|
[workspace]
|
||||||
name = "polytreewm"
|
members = [
|
||||||
version = "0.0.0"
|
"rust-polytreewm",
|
||||||
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
|
]
|
||||||
edition = "2021"
|
|
||||||
description = "PolytreeWM is an extremely fast, small, and dynamic tiling window manager for X"
|
|
||||||
readme = true
|
|
||||||
homepage = "https://github.com/PolytreeDE/polytreewm"
|
|
||||||
repository = "https://github.com/PolytreeDE/polytreewm.git"
|
|
||||||
license = "MIT"
|
|
||||||
keywords = []
|
|
||||||
categories = []
|
|
||||||
publish = false
|
|
||||||
|
|
||||||
[lib]
|
|
||||||
name = "polytreewm"
|
|
||||||
crate-type = ["staticlib"]
|
|
||||||
|
|
||||||
[dependencies]
|
|
||||||
ctor = "0.1.23"
|
|
||||||
env_logger = "0.9.0"
|
|
||||||
log = "0.4.17"
|
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -14,7 +14,12 @@ CONFIGMKS = \
|
||||||
$(CONFIGMKS_TO_REMOVE) \
|
$(CONFIGMKS_TO_REMOVE) \
|
||||||
config/3-defvars.mk
|
config/3-defvars.mk
|
||||||
|
|
||||||
RUST_SRC = Cargo.toml Cargo.lock src/*.rs src/**/*.rs
|
RUST_SRC = \
|
||||||
|
rust-polytreewm/Cargo.toml \
|
||||||
|
rust-polytreewm/Cargo.lock \
|
||||||
|
rust-polytreewm/src/*.rs \
|
||||||
|
rust-polytreewm/src/**/*.rs
|
||||||
|
|
||||||
RUST_APIS = src/constraints.h src/geom.h src/helpers.h src/settings.h
|
RUST_APIS = src/constraints.h src/geom.h src/helpers.h src/settings.h
|
||||||
|
|
||||||
MODULES_SRC = \
|
MODULES_SRC = \
|
||||||
|
|
0
Cargo.lock → rust-polytreewm/Cargo.lock
generated
0
Cargo.lock → rust-polytreewm/Cargo.lock
generated
22
rust-polytreewm/Cargo.toml
Normal file
22
rust-polytreewm/Cargo.toml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
[package]
|
||||||
|
name = "polytreewm"
|
||||||
|
version = "0.0.0"
|
||||||
|
authors = ["Alex Kotov <kotovalexarian@gmail.com>"]
|
||||||
|
edition = "2021"
|
||||||
|
description = "PolytreeWM is an extremely fast, small, and dynamic tiling window manager for X"
|
||||||
|
readme = true
|
||||||
|
homepage = "https://github.com/PolytreeDE/polytreewm"
|
||||||
|
repository = "https://github.com/PolytreeDE/polytreewm.git"
|
||||||
|
license = "MIT"
|
||||||
|
keywords = []
|
||||||
|
categories = []
|
||||||
|
publish = false
|
||||||
|
|
||||||
|
[lib]
|
||||||
|
name = "polytreewm"
|
||||||
|
crate-type = ["staticlib"]
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
ctor = "0.1.23"
|
||||||
|
env_logger = "0.9.0"
|
||||||
|
log = "0.4.17"
|
Loading…
Reference in a new issue