Skip to content

Commit 2b94b5e

Browse files
committed
Remove promptly
1 parent 3105536 commit 2b94b5e

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

CONTRIBUTE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Check out the [Roadmap](https://docs.atomicdata.dev/roadmap.html) if you want to
1414

1515
- [Table of contents](#table-of-contents)
1616
- [Running locally](#running-locally)
17+
- [Improve local compilation speed](#improve-local-compilation-speed)
1718
- [Cross compilation](#cross-compilation)
1819
- [IDE setup (VSCode)](#ide-setup-vscode)
1920
- [Testing](#testing)
@@ -46,6 +47,10 @@ Since `atomic-server` is developed in conjunction with the typescript / react `a
4647
- Visit your `localhost` in your locally running `atomic-data-browser` instance: (e.g. `http://localhost:8080/app/show?subject=http%3A%2F%2Flocalhost`)
4748
- use `cargo watch -- cargo run` to automatically recompile `atomic-server` when you push new assets using `pmpm build-server` in `atomic-data-browser`. This can be useful if you're debugging specific features that you can't reproduce while the front-end is hosted in vite.
4849

50+
## Improve local compilation speed
51+
52+
- Use the [`mold`](https://github.com/rui314/mold) linker `brew install mold` + create a `.cargo/config.toml` and add `[build] rustflags = ["-C", "link-arg=-fuse-ld=lld"]`
53+
4954
## Cross compilation
5055

5156
If you want to build `atomic-server` for some other target (e.g. building for linux from macOS), you can use the `cross` crate.
@@ -56,6 +61,7 @@ cargo install cross
5661
cross build --target x86_64-unknown-linux-musl --bin atomic-server --release
5762
```
5863

64+
5965
## IDE setup (VSCode)
6066

6167
This project is primarily being developed in VSCode.

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

server/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ directories = ">= 2, < 5"
2828
dotenv = "0.15"
2929
futures = "0.3"
3030
percent-encoding = "2.2.0"
31-
promptly = "0.3"
3231
regex = "1"
3332
rio_api = "0.7"
3433
rio_turtle = "0.7"

server/src/config.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ pub fn build_config(opts: Opts) -> AtomicServerResult<Config> {
273273
"The `--email` flag (or ATOMIC_EMAIL env) is required for getting an HTTPS certificate from letsencrypt.org."
274274
.into(),
275275
);
276-
// email = Some(promptly::prompt("What is your e-mail? This is required for getting an HTTPS certificate from Let'sEncrypt.").unwrap());
277276
}
278277

279278
let schema = if opts.https { "https" } else { "http" };

0 commit comments

Comments
 (0)