Skip to content

Commit

Permalink
chore: add pace-server library
Browse files Browse the repository at this point in the history
  • Loading branch information
simonsan committed Feb 19, 2024
1 parent eee718c commit 5b56211
Show file tree
Hide file tree
Showing 11 changed files with 755 additions and 6 deletions.
4 changes: 4 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["crates/cli", "crates/core", "xtask"]
members = ["crates/cli", "crates/core", "crates/server", "xtask"]

[workspace.package]
authors = ["the pace-rs team"]
Expand All @@ -14,6 +14,7 @@ clap = { version = "4", features = ["env", "wrap_help", "derive"] }
eyre = "0.6.12"
pace_cli = { path = "crates/cli", version = "0" }
pace_core = { path = "crates/core", version = "0" }
pace_server = { path = "crates/server", version = "0" }

[package]
name = "pace-rs"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ mindful routine.
## Contact

You can ask questions in the
[Discussions](https://github.com/pace-rs/pace/discussions) or have a look at the
[Discussions](https://github.com/orgs/pace-rs/discussions) or have a look at the
[FAQ](https://pace.cli.rs/docs/FAQ.html).

| Contact | Where? |
Expand Down
1 change: 0 additions & 1 deletion crates/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ repository = { workspace = true }
rust-version = "1.74.1"
description = "pace-cli - library to support timetracking on the command line"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
include = [
"LICENSE",
"README.md",
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ application.
## Contact

You can ask questions in the
[Discussions](https://github.com/pace-rs/pace/discussions) or have a look at the
[Discussions](https://github.com/orgs/pace-rs/discussions) or have a look at the
[FAQ](https://pace.cli.rs/docs/FAQ.html).

| Contact | Where? |
Expand Down
1 change: 0 additions & 1 deletion crates/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ repository = { workspace = true }
rust-version = "1.74.1"
description = "pace-core - library to support timetracking on the command line"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
include = [
"LICENSE",
"README.md",
Expand Down
2 changes: 1 addition & 1 deletion crates/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ core library for the `pace` timetracking application.
## Contact

You can ask questions in the
[Discussions](https://github.com/pace-rs/pace/discussions) or have a look at the
[Discussions](https://github.com/orgs/pace-rs/discussions) or have a look at the
[FAQ](https://pace.cli.rs/docs/FAQ.html).

| Contact | Where? |
Expand Down
21 changes: 21 additions & 0 deletions crates/server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[package]
name = "pace_server"
version = "0.1.0"
authors = { workspace = true }
categories = { workspace = true }
edition = { workspace = true }
keywords = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
rust-version = "1.74.1"
description = "pace-server - server library to support timetracking on the command line"

include = [
"LICENSE",
"README.md",
"CHANGELOG.md",
"src/**/*",
"Cargo.toml",
]

[dependencies]
661 changes: 661 additions & 0 deletions crates/server/LICENSE

Large diffs are not rendered by default.

63 changes: 63 additions & 0 deletions crates/server/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
<p align="center">
<img src="https://raw.githubusercontent.com/pace-rs/assets/main/logos/readme_header_server.png" style="max-width:500px; width:100%; height: auto" />
</p>
<p align="center"><b>pace-server - server library to support timetracking on the command line</b></p>

<p align="center">
<a href="https://crates.io/crates/pace_server"><img src="https://img.shields.io/crates/v/pace_server.svg" /></a>
<a href="https://docs.rs/pace_server/"><img src="https://img.shields.io/docsrs/pace_server?style=flat&amp;labelColor=1c1d42&amp;color=4f396a&amp;logo=Rust&amp;logoColor=white" /></a>
<a href="https://raw.githubusercontent.com/pace-rs/pace/main/crates/server/LICENSE"><img src="https://img.shields.io/badge/license-AGPLv3+-red.svg" /></a>
<a href="https://crates.io/crates/pace_server"><img src="https://img.shields.io/crates/d/pace_server.svg" /></a>
<p>

## About

`pace_server` is a library to support timetracking on the command line. It is
the server library for the `pace` timetracking application. In the near future,
it will be used to provide a server for the `pace` command line application to
store and retrieve time tracking data.

**NOTE**: This library is currently under heavy development and not yet ready
for production use. This is a placeholder crate to reserve the name on
crates.io.

## Contact

You can ask questions in the
[Discussions](https://github.com/orgs/pace-rs/discussions) or have a look at the
[FAQ](https://pace.cli.rs/docs/FAQ.html).

| Contact | Where? |
| ------------- | --------------------------------------------------------------------------------------------------------------- |
| Issue Tracker | [GitHub Issues](https://github.com/pace-rs/pace/issues/new/choose) |
| Discord | [![Discord](https://dcbadge.vercel.app/api/server/RKSWrAcYdG?style=flat-square)](https://discord.gg/RKSWrAcYdG) |
| Discussions | [GitHub Discussions](https://github.com/orgs/pace-rs/discussions) |

## Contributing

Found a bug? [Open an issue!](https://github.com/pace-rs/pace/issues/new/choose)

Got an idea for an improvement? Don't keep it to yourself!

- [Contribute fixes](https://github.com/pace-rs/pace/contribute) or new features
via a pull requests!

Please make sure, that you read the
[contribution guide](https://pace.cli.rs/docs/contributing_to_pace.html).

## Minimum Rust version policy

This crate's minimum supported `rustc` version is `1.74.1`.

The current policy is that the minimum Rust version required to use this crate
can be increased in minor version updates. For example, if `crate 1.0` requires
Rust 1.20.0, then `crate 1.0.z` for all values of `z` will also require Rust
1.20.0 or newer. However, `crate 1.y` for `y > 0` may require a newer minimum
version of Rust.

In general, this crate will be conservative with respect to the minimum
supported version of Rust.

## License

**AGPL-3.0-or-later**; see [LICENSE](./LICENSE).
1 change: 1 addition & 0 deletions crates/server/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

0 comments on commit 5b56211

Please sign in to comment.