Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-binary setup #1

Open
kevinmichaelchen opened this issue Dec 22, 2022 · 1 comment
Open

Multi-binary setup #1

kevinmichaelchen opened this issue Dec 22, 2022 · 1 comment

Comments

@kevinmichaelchen
Copy link
Owner

We'll need one binary for the server. We'll need another binary for the CLI.

Per the docs:

The default executable file is src/main.rs.
Other executables can be placed in src/bin/.

@kevinmichaelchen
Copy link
Owner Author

Do we even need 2 binaries? Can SurrealDB run embedded alongside the CLI command execution? Would that be inefficient, since it would have to ingest all the local Markdown files on each invocation?

let ds = Datastore::new("memory").await?;

Repository owner deleted a comment from Arpitkandwal Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant