-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
41 lines (35 loc) · 1.18 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
[package]
name = "arcane"
version = "0.1.0-dev"
edition = "2021"
rust-version = "1.81"
description = "Opionated CQRS/ES framework with type magic."
authors = [
"Ilya Solovyiov <[email protected]>",
"Mikhail Bashilov <[email protected]>",
"Kai Ren <[email protected]>",
]
documentation = "https://docs.rs/arcane-core"
homepage = "https://github.com/arcane-rs/arcane"
repository = "https://github.com/arcane-rs/arcane"
readme = "README.md"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
# Enables deriving code generation capabilities.
derive = ["dep:arcane-codegen"]
# Enables event sourcing machinery.
es = ["arcane-codegen?/es", "arcane-core/es"]
# Enables compile-time reflection capabilities.
reflect = ["arcane-codegen?/reflect", "arcane-core/reflect"]
# Only for generating documentation.
doc = ["arcane-codegen?/doc"]
[dependencies]
arcane-core = { version = "0.1.0-dev", path = "./core" }
arcane-codegen = { version = "0.1.0-dev", path = "./codegen", optional = true }
[[example]]
name = "event"
required-features = ["derive", "es", "reflect"]
[workspace]
members = ["codegen", "codegen/impl", "codegen/shim", "core"]