Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
lwshang committed Apr 9, 2024
1 parent 7f6df77 commit 460fc24
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
2 changes: 1 addition & 1 deletion docs/concepts/tech-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ If the content of a custom field value begins with the prefix `$(` and ends with

### Who should set `tech_stack`?

In the short future, CDK will be able to set `tech_stack` without requiring extra configuration in `dfx.json`.
In the near future, CDK will be able to set `tech_stack` without requiring extra configuration in `dfx.json`.

Currently, `dfx` sets `tech_stack` for Rust and Motoko canisters if they don't define `tech_stack` explicitly in `dfx.json`.

Expand Down
18 changes: 0 additions & 18 deletions src/dfx-core/src/config/model/dfinity.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,24 +193,6 @@ pub struct Pullable {
pub init_arg: Option<String>,
}

// /// # Tech Stack Category
// /// The category of the tech_stack item.
// #[derive(Clone, Debug, Default, PartialEq, Eq, Hash, Serialize, Deserialize, JsonSchema)]
// #[allow(non_camel_case_types)]
// pub enum TechStackCategory {
// /// # cdk
// #[default]
// cdk,
// /// # language
// language,
// /// # lib
// lib,
// /// # tool
// tool,
// /// # other
// other,
// }

pub type TechStackCategoryMap = HashMap<String, HashMap<String, String>>;

/// # Tech Stack
Expand Down

0 comments on commit 460fc24

Please sign in to comment.