Move Rust code to the subdirectory

This commit is contained in:
Alex Kotov 2022-09-09 17:13:04 +04:00
parent 94833716c3
commit 8367f549a3
Signed by: kotovalexarian
GPG Key ID: 553C0EBBEB5D5F08
14 changed files with 33 additions and 23 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/Cargo.lock
/config/1-generated.mk
/config/2-conditionals.mk
/polytreewm

View File

@ -1,22 +1,4 @@
[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"
[workspace]
members = [
"rust-polytreewm",
]

View File

@ -14,7 +14,12 @@ CONFIGMKS = \
$(CONFIGMKS_TO_REMOVE) \
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
MODULES_SRC = \

View 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"