-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
315 changed files
with
30,949 additions
and
781 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Contributing | ||
|
||
Thanks for choosing to contribute to `lewp-rs`! You can find a few details about the contributing standards that `lewp-rs` follows. | ||
|
||
*A pull request template is currently in progress, until released please add as much as information to the PR as you can about the changes you made* | ||
|
||
## Testing | ||
|
||
Please make sure that every commit is a complete one, meaning the code should run as expected. This includes that all tests in `cargo test --all-features` pass. | ||
|
||
## GIT usage | ||
|
||
This project follows [git flow](http://danielkummer.github.io/git-flow-cheatsheet/). The main development takes place in the `develop` branch. Please make sure that your PR goes in there. The `main` branch is the production release branch. The following prefixes are used: | ||
|
||
* `f/` for feature branches | ||
* `b/` for bugfix branches | ||
* `r/` for release branches | ||
* `h/` for hotfix branches | ||
* `s/` for support branches | ||
* `v` is the version tag prefix | ||
|
||
## Commit messages | ||
|
||
The commit messages **must** follow [conventional commits](https://www.conventionalcommits.org/en/v1.0.0). | ||
|
||
Available scopes are: | ||
|
||
* `css` - for the `lewp-css` crate | ||
|
||
* `selectors` - for `lewp-selectors` crate | ||
|
||
* `html` - for `lewp-html` crate | ||
|
||
* `lewp` - for the main crate | ||
|
||
## Code conventions | ||
|
||
This project follows the standard [Rust naming conventions](https://rust-lang.github.io/api-guidelines/naming.html). Make sure that your code is formatted by `rustfmt` before committing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,7 @@ | ||
[package] | ||
name = "lewp" | ||
version = "0.2.0" | ||
authors = ["Lewin Probst <[email protected]>"] | ||
edition = "2018" | ||
license = "MIT OR Apache-2.0" | ||
description = "Say goodbye to the web template hell. Generate your HTML5 website technically optimized and always valid. In your Rust source." | ||
homepage = "https://github.com/emirror-de/lewp-rs" | ||
documentation = "https://docs.rs/lewp" | ||
repository = "https://github.com/emirror-de/lewp-rs" | ||
readme = "README.md" | ||
keywords = ["HTML5", "CSS", "JavaScript", "WASM", "modules"] | ||
categories = ["web-programming"] | ||
|
||
[features] | ||
full = ["submodules"] | ||
submodules = [] | ||
|
||
[dependencies] | ||
serde = { version = "^1.0.130", features = ["derive"], optional = true } | ||
log = "^0.4.14" | ||
langtag = "^0.2.0" | ||
html5ever = "^0.25.1" | ||
markup5ever_rcdom = "^0.1.0" | ||
charsets = "^0.2.0" | ||
|
||
[dev-dependencies] | ||
rand = "0.8.4" | ||
[workspace] | ||
members = [ | ||
"lewp-selectors", | ||
"lewp-css", | ||
"lewp-html", | ||
"lewp" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
MIT License | ||
|
||
Copyright (c) 2021 Lewin Probst, M.Sc. <[email protected]> | ||
Copyright (c) 2022 Lewin Probst, M.Sc. <[email protected]> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
/target | ||
Cargo.lock |
Oops, something went wrong.