Skip to content

Commit 975683b

Browse files
Chris Frantzcfrantz
Chris Frantz
authored andcommitted
Re-organize project workspace
1. Put serde_annotate source into serde_annotate/ 2. Rename `annotate_derive` to `serde_annotate_derive`. Signed-off-by: Chris Frantz <[email protected]>
1 parent 20df7ef commit 975683b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+642
-624
lines changed

.bazelversion

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6.5.0

BUILD.bazel

-61
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
load("@crate_index//:defs.bzl", "aliases", "all_crate_deps")
2-
load(
3-
"@rules_rust//rust:defs.bzl",
4-
"rust_binary",
5-
"rust_library",
6-
"rust_proc_macro",
7-
"rust_test",
8-
)
9-
101
package(default_visibility = [
112
"//visibility:public",
123
])
@@ -19,55 +10,3 @@ exports_files([
1910
licenses([
2011
"notice", # Apache 2 license
2112
])
22-
23-
rust_library(
24-
name = "serde_annotate",
25-
srcs = glob(["**/*.rs"]),
26-
aliases = aliases(),
27-
compile_data = ["src/relax.pest"],
28-
crate_features = [
29-
],
30-
crate_root = "src/lib.rs",
31-
data = [],
32-
edition = "2021",
33-
proc_macro_deps = [
34-
"//annotate_derive",
35-
"@crate_index//:pest_derive",
36-
],
37-
rustc_flags = [
38-
"--cap-lints=allow",
39-
],
40-
tags = [
41-
"crate-name=serde_annotate",
42-
],
43-
version = "0.1.0",
44-
deps = [
45-
"@crate_index//:anstyle",
46-
"@crate_index//:num-traits",
47-
"@crate_index//:once_cell",
48-
"@crate_index//:pest",
49-
"@crate_index//:regex",
50-
"@crate_index//:serde",
51-
"@crate_index//:thiserror",
52-
],
53-
)
54-
55-
rust_test(
56-
name = "serde_annotate_test",
57-
aliases = aliases(
58-
normal_dev = True,
59-
proc_macro_dev = True,
60-
),
61-
crate = ":serde_annotate",
62-
proc_macro_deps = [
63-
"@crate_index//:serde_derive",
64-
],
65-
deps = [
66-
"@crate_index//:anyhow",
67-
"@crate_index//:deser-hjson",
68-
"@crate_index//:json5",
69-
"@crate_index//:serde_bytes",
70-
"@crate_index//:serde_json",
71-
"@crate_index//:serde_yaml",
72-
],
73-
)

0 commit comments

Comments
 (0)